Expand my Community achievements bar.

Problem with verification

Avatar

Former Community Member

I am trying to get a form to validate the completion of certain fields. I can get it to work if I insert an email button but the form has to be attached to an email not sent directly.

I guess I need to attach a button or some sort of script.

Any suggestions would be very much appreciated.

2 Replies

Avatar

Former Community Member

Validations are run automatically when th eform is submitted. If you want to force the validations to run you can use the execValidations() function that is part of any node. If you run that on the root level node (form1) then it will run all validations. It will return a true or false value depending on whether the validations pass of fail.

Paulk

Avatar

Former Community Member

Thank you very much for your reply, however, I am quite new to this so I'm not really with you!! Sorry

Can I alter the buttons script to "save as" as long as my fields are filled in???


Thanks