PDF Form - dropdowns ignore mandatory fields and submits
- October 30, 2024
- 1 reply
- 391 views
Can anyone help please, posted similar ask yesterday but I am new to custom scripts on PDF and have managed to work out some but need help on the following (have attached example form which was not attached to previous ask)
The form cannot submitted unless the mandatory fields below have an entry. The submit button(s) will only show when a selection has been made in the Goods and /or Services dropdown
The problem I’m having is that form will not submit if the non-dropdown fields are not filled in (which is great), but it will submit if the dropdowns are not populated with an option
Description 1
Total Amount 1
Total Amount Currency 1 (Dropdown)
Vendor
Email Address (custom script applied to ensure an email address is entered and not just a name)
Priority (Dropdown)
Also ideally want to add a custom script so that if the second line in description (Description 2) is filled in then the second line in the total amount currency section Total Amount 2 and Total Amount Currency 2 (Dropdown) then become mandatory and the form cannot be submitted if left blank and then also apply to 3rd / 4th and 5th following that rule
