Page 1 of 1

Avoid bypassing form validation if item edited outside forms designer

Posted: 06 Apr 2016
by mcgaafar
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.

Re: Avoid bypassing form validation if item edited outside forms designer

Posted: 06 Apr 2016
by rostislav
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)

Re: Avoid bypassing form validation if item edited outside forms designer

Posted: 06 Apr 2016
by mcgaafar
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?

Re: Avoid bypassing form validation if item edited outside forms designer

Posted: 06 Apr 2016
by rostislav
Probably it is possible, but it is outside the scope of our product. Googling this gives some results, so you can try that.

Re: Avoid bypassing form validation if item edited outside forms designer

Posted: 06 Apr 2016
by mcgaafar
Well, thanks.