Radio list element

Function : Creates a radio list

Parameters

Label The label of this element
CSS Class CSS class assigned to this element
Style using CSS only Defines whether or not JForms should append inline CSS attributes to the element, Set to “YES” if you want to disable inline CSS attributes
Required Whether or not this field is required , the Form will not be submitted until this field is filled
Options Elements of this list, each element should be in a separate line
Layout Defines elements layout (Vertical vs Horizontal)
Button Alignment Defines the side on which the “Radio button” is rendered

Notes:

  • When “Required” is set to “Yes” , the element will be validated, it will pass validation if any element is selected

Examples

To create a required radio list containing 5 options allowing one option selection

  • Set “Required” = “Yes”
  • Set “Options”
Option 1
Option 2
Option 3
Option 4
Option 5
 
0.7/elements/radio.txt · Last modified: 2009/09/06 19:06 by dr_drsh
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki