Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new

Learn More

View all

Sign in to view all badges

Form Validate




I have a requirement in which I need to submit a filled in PDF to the servlet. Before submitting I need to validate and submit only if the form is validated to true.

On click of button, I am invoking xfa.form.execValidate(), and then checking for the flag returned.

On certain fields I kept customized scripts, Even though the scripts are getting executed, in case of failed validations, the execValidate() function is still returning true.

Do I need to set any validate Flag as false in case of customized validate scripts?

Please help me.