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

How do I make a textfield required based on a particular radio button selection?

Community Beginner ,
Aug 16, 2018 Aug 16, 2018

Copy link to clipboard



I was wondering if I could get some help with making a textfield required based on a particular radio button selection.

I have a form that I'm creating and have several questions with radio buttons. For some of my questions there are yes/no radio buttons and if the user selects "yes", I ask "if yes, what?" with a textfield for their explanation beside it.

How do I make the below textfield required, only if, the user selects the "yes" radio button?

Thank any of you in advance for any help!

Name of radio button "Yes"= coy

Name of radio button group = Criminal_Offense

Name of textfield for "If yes, what? = whatinput

Screen Shot 2018-08-16 at 2.26.59 PM.png

Acrobat SDK and JavaScript , Windows







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

Have something to add?

Join the conversation