• Payment Plugins Poll

    We need your feedback on the need for updated payment plugins. Please go here and give us your feedback.

  • Joomla 5.1

    For running J!5.1 you must install Fabrik 4.1
    See also Announcements

  • Subscription and download (Fabrik 4.1 for J!4.2+ and J!5.1) are working now

    See Announcement
    Please post subscription questions and issues here

    We have resolved the issue with the J! updater and this will be fixed in the next release.

  • Update & Changlog URL Fixer

    At the present time the update site URL for Fabrik is incorrect in all installations up to and including 4.1. This will be corrected in 4.2, however, if you wish to update Fabrik via the J! Updater you can download and install this plugin.

    This file is installed just like any other extension through the J! Extension Installation panel. It will not however actually install anything. Its sole purpose is to fix the Update Site and Changlog URL's. Once done it will simply exit.

    As always, we recommend you perform a site backup priot to installation.

Radio Button element

  • Views Views: 15,482
  • Last updated Last updated:


      Access element (+)
      Birthday element
      Button element
      Calculation element
      Captcha element
      Checkbox element
      Colour Picker element
      Count element (+)
      Database join element
      Date element
      Digg element
      Display text element
      Dropdown element
      Facebook Like element
      Field element
      File Upload element
      Folder element
      Google Map element
      Image element
         Image databese join
      Internal id element
      IP element
      J!Date element
      Kaltura element
      Link element
      Notes element
      OpenStreetMap element
      Picklist element
      Radio Button element
      Rating element
      Sequence element
      Slider element
      Tags element
      Textarea element
      Thumbs element
      Time element
      Timer element
      Timestamp element
      Total element
      User element
      User group element
      Video element
      View level element
      YesNo element
      Youtube element
      Akismet validation
      Is Email validation
      Is Not validation
      Is Numeric validation
      Not empty validation
      PHP validation
      Rsa id
  • Introduction​

    Renders a a series of radio input Options.

    Details Tab​



    • Sub Options - The list of Options for the radio buttons. Use the green + to add more, the red - to remove Options and the grey boxes on the right to drag and drop to change the order.
      NOTE: Options can be programmatically added to this list Using eval Populate on the Advanced tab.
      • Value - The value that is stored in the database if the drop down option is selected.
      • Label - The label that appears next to the drop down option. Equally this label is shown in the table view rather than the recorded value (which is stored in the database table itself)
      • Default - is the option selected as default
    • Options per row - Specify the number of columns used to render the radio buttons. A smaller number will place the Options FARTHER apart. If you have short Options, then choosing a number like 8 would help move the Options closer together without as much whitespace between them.
    • Button group - Renders the Options as a Bootstrap 'button group' vs. the traditional html radio buttons (a button group is similar to the No/Yes choice of button group).
      • Button Groups work only on Joomla 3 (with Bootstrap)
      • If you use Javascript events, you have to use a click event (and not the change event).

    Front End Addition​

    • Allow user to add drop down option - Allow your form's users to add in additional Options to your form.
    • Only add label - If no selected then the user has to enter both a value and a label for the checkbox option they are adding. If yes selected then only a label field is presented to the user the value of which is then used for the value and label.
    • Save new additions - If yes selected then the newly submitted option is stored by the element, meaning subsequent users of the form will be able to select the same value.

    Advanced Options​

    • Eval Populate - PHP that can generate a list of Options to add to list added using JHTML.
      See also the dropdown element
    • For example, here is some code that will build a list of years from the current year and the previous 10 years.
      for ($year = date('Y'); $year > date('Y', strtotime('-10 years')); $year--) {
      $options[] = JHTML::_('select.option',$year,$year); }
      return $options;
    • Note: There is no way to specify a default selected option using this method.

    Additional data​

    Sometimes, when editing a record, you may see sub-options appearing that are not listed in the element's admin page. This is because the current record has values that are not found in the sub-options. This could occur because:
    • Data was entered manually into the database
    • Data previously entered from a radio sub option that has been subsequently deleted
    • The user has been allowed (possibly at some point) to add their own options but not set to store that added option as a option available to other users.
    With Fabrik we work on the principle of trying to be as lenient as possible with the data stored/displayed. If someone has entered it in, we will try to to produce processes where it will be not removed.