Page 1 of 1

Required field

PostPosted: Thu Jan 09, 2020 9:13 pm
by mariri
Hi guys !

How can I change the value of the input "validate" option to "No blanks" for any input object by adding Javascript code to the form's custom code ?

Thanks for ur help ! :)

Re: Required field

PostPosted: Fri Jan 10, 2020 3:19 am
by kev1n

You can't set the "No blanks' option by JavaScript. It is validated on the server side with PHP.
But you can validate the fields in the nuBeforeSave() function. ... BeforeSave