• 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: Limit radio selections

Limit radio selections 10 years 7 months ago #29242

I would like to limit the maximum number of Radio selections. For example, out of a possible 12 answers, the user may only choose 3. More than that generates a popup error.

Anyone have a link to an example or code?
The administrator has disabled public write access.

Limit radio selections 10 years 7 months ago #29253

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
Please keep in mind that you can't check more than one radio item. If you're referring to checkboxes, you will have to use Javascript to check how many are checked and trigger the popup.

You can use the PHP method, to invalidate the field upon submitting (this example is presented here:
https://www.rsjoomla.com/support/documentation/view-article/646-how-to-limit-the-number-of-selected-checkboxes.html
My help is not official customer support. To receive your support, submit a ticket by clicking here
Last Edit: 10 years 7 months ago by cosmin.cristea.
The administrator has disabled public write access.
The following user(s) said Thank You: jmckinnon1166

Limit radio selections 10 years 7 months ago #29258

Got it, thanks!
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!