Mon. - Fri. 9 am - 5 pm Support Policy
Remember me

Dynamic fields

2 years 9 months ago #1

  • Jerry's Avatar
  • Jerry
  • Posts: 6
Can you recommend a way to hide / show form elements depending on the state of another form element (i.e., select or checkbox), perhaps via jquery or javascript? I have a need to be able collect a list of names if a checkbox is turned on and to clear the list if it is turned off. I also need a way to dynamically display the number of checkboxes which are checked in a form.

2 years 9 months ago #2

  • Artem's Avatar
  • Artem
  • Posts: 8235
Hello,

Forms component already include Conditional Logic (Dynamic) fields feature, here is a video:



More you can find here: Conditional Logic fields - Joomla Forms Documentation

I hope it's can help you ;)

Regards,
Powered by Kunena Forum