Home Forums Add-ons Repeater Field Display repeater field base on radio button selected Reply To: Display repeater field base on radio button selected

  • Thanks theryanmark for heading me in the right direction! To be more clear…I have a repeater field labeled “workshops” with the following subfields:

    (Label: Class) (Field Name: title) (Title Name: title) (Type: Text)
    (Label: Class Link) (Field Name: link) (Title Name: link) (Type: Url)
    (Label: checkbox) (Field Name: checkbox) (Title Name: checkbox) (Type: Radio Button)

    Radio button Choices:
    Boston : boston
    Newton : newton
    Both : both

    What I would like to accomplish is when the admin inputs a workshop repeater field..I would like to place the field in different div’s based on the radio button selected..and if the “both” radio button is selected the pertaining repeater field would display in both div’s.

    Does this make sense? Am I heading in the right direction or is there a better way to accomplish this? I would think I would have to make an if and else statement in the PHP to accomplish this.

    Any help would be much appreciated.