I have a document with several required fields however the user can sign the form regardless if these fields are valid. Is there an option within LiveCycle to control this, ie Signature field isn’t valid until all mandatory fields are true? I’m thinking this might consist of additional JavaScript. However, I’d like to get some advice from others with more expertise.
Thanks,
Andy
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Andy,
Here is a sample: https://acrobat.com/#d=rm5V4y7ANBcmZTsrcXxp1w
It uses two functions execValidate(), which validates the form and returns true is the form is valid and false if there are errors. The preSign event has access to the cancelAction property, so if there are errors, the cancelAction is set to true.
I have also used the new Form Validation features in LC Designer ES2 to group the error messages.
Good luck,
Niall
Views
Replies
Total Likes
Hi Andy,
Here is a sample: https://acrobat.com/#d=rm5V4y7ANBcmZTsrcXxp1w
It uses two functions execValidate(), which validates the form and returns true is the form is valid and false if there are errors. The preSign event has access to the cancelAction property, so if there are errors, the cancelAction is set to true.
I have also used the new Form Validation features in LC Designer ES2 to group the error messages.
Good luck,
Niall
Views
Replies
Total Likes
Sorry to revive a really old post but I'm trying to do the same thing and can't seem to get to your sample. Can you provide the javascript code used for this or the sample document with a fresh link?
Views
Replies
Total Likes
Never mind, it got it
Views
Replies
Total Likes
What was the solution? I can't figured it out an the sample link above doesn't open.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies