4 Replies Latest reply on Mar 11, 2015 7:06 AM by omanbux

    fields show or hide based on radio button

    omanbux Level 1

      Hi, in my form there are two radio buttons available. one is for "yes" & other one is for "no". also there are another 6 fields available & as a default that all 6 fields are hidden.  if i click "yes" bellow 3 fields should visible.

      text-1

      text-2

      text-3

       

      if i click "no" above 3 fields should hide & bellow 3 fields should visible.

      text-4

      text-5

      text-6

       

      so can u pls give me JavaScript to manage my requirement. thanks in advance.