Expand my Community achievements bar.

Form Validate


Former Community Member

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.


0 Replies