Avoid bypassing form validation if item edited outside forms designer

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
mcgaafar
Posts: 44
Joined: Sun Jan 17, 2016

06 Apr 2016

Hi,

I have a list, where i built its forms using form designer and added some validation on submit event. At the same i'm enabling the quick edit mode of the list. The problem is when the user uses the quick edit mode, all the custom validation are bypassed because changes where not submitted via the form with validation code.

Is there a way to enforce the validation code of the form on quick edit?

Note: Switching the list's quick edit feature off is not an option in that case.

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

06 Apr 2016

You can use validation formulae in list settings (List -> List settings -> Validation settings) or specify some validation in column settings (min/max values, enforce the presence of a value: List -> List settings -> column name)

mcgaafar
Posts: 44
Joined: Sun Jan 17, 2016

06 Apr 2016

Thanks a lot, i know i can do that, however SP built in validation mechanism is not powerful enough to handle complex cases that's why i need to rely on the custom validation written in javascript inside my form. So is it possible by any means?

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

06 Apr 2016

Probably it is possible, but it is outside the scope of our product. Googling this gives some results, so you can try that.

mcgaafar
Posts: 44
Joined: Sun Jan 17, 2016

06 Apr 2016

Well, thanks.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests