Custom User Field - Radio Button Topic is solved

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
User avatar
mredmond13
Joomla! Apprentice
Joomla! Apprentice
Posts: 41
Joined: Sat Oct 20, 2007 2:08 am
Location: Baton Rouge, Louisiana

Custom User Field - Radio Button

Post by mredmond13 » Wed Jun 19, 2019 11:48 pm

I am trying to set up a custom field on my user registration form.

I set up a radio button and was expecting to see a vertical list of options with the typical radio style button in front of each item in the list. Instead I get a horizontal list of the options bumped up against each other.

The radio selection functionality is working. When I select one option, the previously selected option is deselected. But the look is ugly when there are more than a few options to select from. It even exceeds the bounds of the screen.

I can't find any kind of flag indicating vertical/horizontal. But in the Joomla documentation for custom fields it appears to show a vertical rendering.

Clearly I am missing something. Any help is appreciated.
Michael Redmond
Baton Rouge, LA

harperlala
Joomla! Guru
Joomla! Guru
Posts: 697
Joined: Mon Aug 24, 2015 5:55 pm

Re: Custom User Field - Radio Button

Post by harperlala » Fri Jun 21, 2019 3:56 am

you need to write some css to align radio.
I think you can use dropdown list to select one, because if there are many radio buttons, they need to have large area div.

User avatar
jjspelman
Joomla! Explorer
Joomla! Explorer
Posts: 285
Joined: Tue Apr 07, 2009 6:27 am
Location: Tampa, FL
Contact:

Re: Custom User Field - Radio Button

Post by jjspelman » Sat May 16, 2020 4:56 pm

I see that creating a "list" element type in Custom Fields allows for the font end user to select from a dropdown.


Locked

Return to “General Questions/New to Joomla! 3.x”