Allowing Only One Check Box to be Selected

From SmartWiki
Revision as of 17:56, 15 April 2009 by Cameron (talk | contribs)

Jump to: navigation, search

SmartSimple does not support a Select One - Radio button type field but you can use a check box field to re-create this type of functionality.

1. Create a custom field: Select Many - Check Box.

2. Add this following code to the HTML tag setting:

onclick="onlyonechecked(this)"

3. Save the field.

The user will not be able to select more than a single check box with this code in place.