Skip navigation
Currently Being Moderated

Grey out fields

Apr 13, 2012 12:31 PM

I would like to create a form that when you answer a question "no" to a question you would need to fill out addtional fields, if you answer "yes" those fields would be greyed out

  • Currently Being Moderated
    Apr 13, 2012 8:10 PM   in reply to klm-mcs

    You have to use JavaScript to change the readonly property of the text field depending upon the value of the check box or radio button group.

    Mark as:
  • George Johnson
    11,661 posts
    Aug 11, 2002
    Currently Being Moderated
    Apr 14, 2012 11:10 AM   in reply to klm-mcs

    For the graying-out part, this tutorial demonstrates one approach:

    Mark as:
  • Currently Being Moderated
    Apr 14, 2012 11:55 AM   in reply to klm-mcs

    If it is LiveCycle Designer form try this:

    on RadioButtonNo Checked event



    If it is AcroForm use 'Show Hide Fields' option under Actions->Select an Action and select the Textbox to hide and unhide. (Although this option will hide the form field)

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points