Skip to main content
cmvarga5
Known Participant
July 19, 2022
Answered

Populate a required text field if a check box is clicked

  • July 19, 2022
  • 2 replies
  • 2109 views

I need help in finding the script for let's say, a yes and no option. If No is checked, the user can move along to the next form field. If Yes is selected, a text field either populates or it is activated and is required to be filled. Does such a thing exist? I cannot find it in previous posts unless I am not looking hard enough.

This topic has been closed for replies.
Correct answer Meenakshi Negi

Hi Cmvarga,

 

Thank you for reaching out.

 

Please try the suggestion provided in the following discussion on a similar topic:

https://community.adobe.com/t5/acrobat-sdk-discussions/when-a-check-box-is-checked-populate-a-text-field-with-a-value/td-p/8336351

https://community.adobe.com/t5/acrobat-sdk-discussions/populate-a-text-field-based-on-checkbox-value/td-p/10162050

Check if that helps.

 

Thanks,

Meenakshi

2 replies

Meenakshi Negi
Community Manager
Meenakshi NegiCommunity ManagerCorrect answer
Community Manager
July 22, 2022

Hi Cmvarga,

 

Thank you for reaching out.

 

Please try the suggestion provided in the following discussion on a similar topic:

https://community.adobe.com/t5/acrobat-sdk-discussions/when-a-check-box-is-checked-populate-a-text-field-with-a-value/td-p/8336351

https://community.adobe.com/t5/acrobat-sdk-discussions/populate-a-text-field-based-on-checkbox-value/td-p/10162050

Check if that helps.

 

Thanks,

Meenakshi

cmvarga5
cmvarga5Author
Known Participant
July 22, 2022

Thank you so much! Will try those scripts.

cmvarga5
cmvarga5Author
Known Participant
July 19, 2022

I forgot to add that, if the No and N/A check boxes are selected, it will skip that required (only if YES is selected) form field.