Copy link to clipboard
Copied
I have set up a pdf form that includes a large number of fields with the required property turned on. I activated the required property by adding a "submit" button with a mailto: action. Is there another action that I could use in case the form users don't want to genterate an email or another way to activate the required field property?
Thanks for the help!
Ken K.
Copy link to clipboard
Copied
The presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value.If the attribute is present, its value must either be the empty string or a value that is an ASCII case-insensitive match for the attribute's canonical name, with no leading or trailing whitespace.
Copy link to clipboard
Copied
In Acrobat, fields marked as "required" are validated (tested for a non-default) when a form is submitted. If any "required" field value matches the default value of the field, then submit is aborted and the offending fields are highlighted. It doesn't matter if the submit is to an URL or an Email. It is the submit that triggers the validation action.
Unfortunately there is no generic "Validate" function in the JavaScript model. If you want the fields to be validated in some other scenario, then you have to write the code to make it happen. If you search for the word "validate" on this forum you will find lots of posts on this topic.