Question
Format text field based on checkbox selected - Acrobat 2020 / Forms
I would like a text field to format based on which checkbox is selected:
- Two checkboxes (TaxType) values SSN or EIN
- One text field (TaxID)
- User will always enter 9 digits
- SSN: NNN-NN-NNNN or EIN: NN-NNNNNNN
- TaxID number may start with a zero (0) so I don't want that number ignored
- If User attempts to type in number without first checking box, can I stop them and create an error message that tells them to choose box first?
Is there a validation script I can run to achieve this? I would think this would be very common.
And yes, it would be easier if there were two separate text fields without the checkboxes, but the department requesting doesn't want it set up that way!
Thank you!
~Michelle
