• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Populate a required text field if a check box is clicked

Explorer ,
Jul 19, 2022 Jul 19, 2022

Copy link to clipboard

Copied

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.

TOPICS
How to , JavaScript , PDF forms

Views

963

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jul 22, 2022 Jul 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

Votes

Translate

Translate
Explorer ,
Jul 19, 2022 Jul 19, 2022

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 22, 2022 Jul 22, 2022

Copy link to clipboard

Copied

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-f...

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

Check if that helps.

 

Thanks,

Meenakshi

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 22, 2022 Jul 22, 2022

Copy link to clipboard

Copied

LATEST

Thank you so much! Will try those scripts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines