• 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: how to enable/disable entire section of a form

how to enable/disable entire section of a form 12 years 3 months ago #21375

  • mikrofon
  • mikrofon's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 2
hello;

I am creating a bicycle sports organization membership form. A rider can register to race one or more types of bike: bmx bike, cruiser bike, 4-cross bike, downhill bike, etc.

For each bike type, there is specific registration info that needs to be collected.

If a rider wants to register as a bmx racer and a downhill racer, but nothing else, then I need to collect info for bmx and for downhill, but not the others, and in an organized way (such as a JSON).

So I would like to know 2 things please:
1 - is there a way to enable/disable a whole section (with a checkbox probably) ... maybe by default every section is greyed out, but when the new member checks the appropriate box, the whole section becomes enabled
2 - can all the info from a section be collated into a single data object (which will then be mapped to mysql)

thanks.
Last Edit: 12 years 3 months ago by mikrofon.
The administrator has disabled public write access.

how to enable/disable entire section of a form 12 years 3 months ago #21380

  • mithcd
  • mithcd's Avatar
  • OFFLINE
  • Banned
  • Posts: 38
Hi Mik. Looks like this issue needs to be duplicated to even see if it's possible. have you tried creating a support ticket yet?
First, solve the problem. Then, write the code.
The administrator has disabled public write access.

how to enable/disable entire section of a form 12 years 2 months ago #21468

  • benblee
  • benblee's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I think this is probably what you're looking for. It would take a little extra code from what is posted in this example, but it is the same idea. I've used this on other sites and it worked well for when there were several fields that I needed to have display.
The administrator has disabled public write access.

how to enable/disable entire section of a form 12 years 2 months ago #21469

  • benblee
  • benblee's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I think this is what you're looking to do.

www.rsjoomla.com/support/documentation/v...-or-hide-fields.html
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!