2 Replies Latest reply on Jul 9, 2014 10:17 AM by George_Johnson

    Background Based on Dropdown Selection (Different Field)

    kieronkeegan

      Greetings;

       

      I have a form that has many required fields, but they vary based on drop down selections...the good ol' "If yes, Why?"

       

      So I have a drop down {DropdownA} that defaults to have a background colour - it is always required - (which is removed once a selection other than ' ' is made), but if it is 'Yes', I need another field {DropdownB} to have the background colour applied.  If it is 'No' {DropdownB} should remain without a background.

       

      I have about 4 hours of JavaScript experience, so please be kind