1. NOTICE: If you are using Fabrik and update to Joomla 3.10, you will need to update to Fabrik 3.10. And, if you are using Fabrik, do not upgrade to Joomla 4, we do not have a supported version ready for release. More information on a release date coming soon. Also, please note that Fabrik 3.10 will not install on any Joomla sites less than 3.8.
    Dismiss Notice

Can a Radio button be used to...

Discussion in 'Community' started by cheyennemtnman, Sep 21, 2021.

  1. cheyennemtnman

    cheyennemtnman Member

    Level: Community
    ...to display more elements depending on which radio button was selected by the user?
    I have a situation where I have a short-form and a long-form that share many of the same fields.
    I want the user to only click once on a URL to access one set of elements displayed according to the radio button selected. Possible?
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    You can add element JS to show/hide other elements or groups.

    As always:
    JS is display, so it's displaying the long form and then hiding some parts. All "long" elements are "there", if they have validations you must set to "Validate Hidden"= no
     
    cheyennemtnman likes this.
  3. cheyennemtnman

    cheyennemtnman Member

    Level: Community
    Thank you!
     

Share This Page