Hello,
I have a field which is formatted for a telephone # (111) 111 1111. if someone enters less than the 10 digits it allows the user to go on, and when they 'submit' the form, an error message comes up indicating the correct format, but then still allows the form to be submitted once you hit 'ok' before fixing the error. Why is that? Can anyone help explain?
Thank you in advance
Views
Replies
Total Likes
That's probably dependent on how you are submitting the form. For example, if you place the Submit button on the form and place the Submit URL directly in the properties, you do not have control on the submission. Even if your input validation fails, the form will be submitted.
To fix this, remove the submit URL from the button properties and place it in the code.
I have a sample form done for sending the email which you can change it according to your need and try..
https://acrobat.com/#d=Pfg33oOuWX*P0nVXpLVuWw
Thanks
Srini
Views
Replies
Total Likes
I have the submit button but I dont have the proper URL yet, as my workplace has to have this set up. With that being said, do I have to wait to have
the url in order to make this field validate correctly?
Views
Replies
Total Likes
Yes. You can get more control when you provide the submit URL in the code rather than in the properties.
You can do all the validations and then only you can submit the form to the URL.
Thanks
Srini
Views
Replies
Total Likes