How do radio groups work? Is there a way to create those groups in Easymode and Classicmode?

Radio groups are best used when you want to display all the options at one time, and allow the user to select only one of them. For a radio group, the format to layout the options is as follows:

Quickmode

0;Label;Dabatase Value

or

1;Label;Database Value

If you put a 0 at the front, then the radio button will be blank. If you put a 1 at the front, then that option will, by default, be marked as the choice. For example, if you want to offer a user a choice of one color out of a group, you might code it as follows:

0;Red;Red
1;Blue;Blue
0;Green;Green
0;I like all colors so it doesn't matter; Any color

Your options will appear in the list in the same order as you enter them in the 'Group' field. If you want to change the order, just move them around within that field. You can also choose to check 'Wrap each element', which would force each choice to a separate line in your form.

Easymode and Classicmode

As you already mentioned radio groups are not available as native elements in these editor modes. Here you need to do a little trick:

  1. create as many radio buttons as needed
  2. give all these radios the same Name (not label)
  3. Save and test it, it should work

 

IMPORTANT

The database value (after the second semicolon) must not contain any special characters except for underscores, hyphens, or spaces. Use of special characters may cause problems when displaying the Form and issues in the Database.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here