• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Show hidden fields if required

Show hidden fields if required 11 years 11 months ago #23094

  • Dozza
  • Dozza's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 1
I'm creating a form for school site for parents to update their contact details.

The parent must complete fields for child/student name and their tutor group. All OK so far.

The Parent/carer may have two or more students at the school so the parent must have the option to add additional student/tutor group entries.

Rather than provide these additional fields (for child 2, child 3 etc) as displayed already but not required, can I offer the user a 'add a student' button that reveals an additional student name field and tutor group field (and another 'add a student' button)?

I'd need a max of 4 students adding on the form.

I read this tutorial but got slightly confused/lost and I'd rather have the user choose a 'more' button rather than make them preselect the number of students.

Appreciate your guidance here.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!