• 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: Conditional Line Adding

Conditional Line Adding 11 years 8 months ago #24808

  • sdsi
  • sdsi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
I have seen some conditional options that can be implemented, but I did not see one like I want. The closest example I can offer is a medical form.

Say you are asked to enter medications you are currently taking. If you leave the "No" box checked, no lines/fields appear to enter your meds. If you check the "Yes" box, then a line appears with the fields for medication name, dosage and frequency. If more than one med is taken, then clicking a "+" link or icon causes another line to appear. There could be from 1 to any number of medications. Can this be done in RSForm! Pro?
The administrator has disabled public write access.

Conditional Line Adding 11 years 8 months ago #24824

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Conditional Fields refer to fields that are already existing on the form that you want to show or hide based on some conditions. What you are looking for is a way for the submitter to dynamically add an unlimited number of fields on your form.
While this isn't built-in, it can be done but it requires custom coding (Javascript and some PHP).
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Conditional Line Adding 11 years 8 months ago #24845

  • sdsi
  • sdsi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
Okay, thank you for clarifying.
The administrator has disabled public write access.

Conditional Line Adding 11 years 8 months ago #24849

I have a form that was done a few years ago that may have what you want. If the user picks one of the 4 radio buttons (1 to 4 cars) it drops down the number of entries matching the request.
You can see it here (page 2)
www.nemgtr.org/index.php?option=com_cont...application&catid=39
Email me at This e-mail address is being protected from spambots. You need JavaScript enabled to view it and I'll send you a backup of the dynamic portion so you can see the coding and maybe adapt it to your needs.
Kathy
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!