{"extended":{"hasExtended":true,"docs":"
<!--- Basic example view code --->\n<cfoutput>\n\t<fieldset>\n\t\t<legend>Gender</legend>\n\t #radioButton(objectName="user", property="gender", tagValue="m", label="Male")#<br />\n #radioButton(objectName="user", property="gender", tagValue="f", label="Female")#\n\t</fieldset>\n</cfoutput>\n\n<!--- Shows radio buttons for selecting the genders for all committee members provided by the `members` association and nested properties --->\n<cfoutput>\n\t<cfloop from="1" to="#ArrayLen(committee.members)#" index="i">\n\t\t<div>\n\t\t\t<h3>#committee.members[i].fullName#:</h3>\n\t\t\t<div>\n\t\t\t\t#radioButton(objectName="committee", association="members", position=i, property="gender", tagValue="m", label="Male")#<br />\n\t\t\t\t#radioButton(objectName="committee", association="members", position=i, property="gender", tagValue="f", label="Female")#\n\t\t\t</div>\n\t\t</div>\n\t</cfloop>\n</cfoutput>"},"hint":"Builds and returns a string containing a radio button form control based on the supplied objectName and property. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.","returntype":"","slug":"radiobutton","parameters":[{"default":"","required":"true","hint":"See documentation for textField.","name":"objectName","type":"any"},{"default":"","required":"true","hint":"See documentation for textField.","name":"property","type":"string"},{"default":"","required":"false","hint":"See documentation for textfield.","name":"association","type":"string"},{"default":"","required":"false","hint":"See documentation for textfield.","name":"position","type":"string"},{"default":"","required":"true","hint":"The value of the radio button when selected.","name":"tagValue","type":"string"},{"default":"useDefaultLabel","required":"false","hint":"See documentation for textField.","name":"label","type":"string"},{"default":"around","required":"false","hint":"See documentation for textField.","name":"labelPlacement","type":"string"},{"default":"","required":"false","hint":"See documentation for textField.","name":"prepend","type":"string"},{"default":"","required":"false","hint":"See documentation for textField.","name":"append","type":"string"},{"default":"","required":"false","hint":"See documentation for textField.","name":"prependToLabel","type":"string"},{"default":"","required":"false","hint":"See documentation for textField.","name":"appendToLabel","type":"string"},{"default":"span","required":"false","hint":"See documentation for textField.","name":"errorElement","type":"string"},{"default":"fieldWithErrors","required":"false","hint":"See documentation for textField.","name":"errorClass","type":"string"}],"name":"radioButton","availableIn":{},"tags":{"categoryClass":"","sectionClass":"","category":"","section":""}}