Allowing Only One Check Box to be Selected

From SmartWiki
Revision as of 15:14, 8 December 2008 by Julia Decker (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.