4,401
edits
Changes
no edit summary
[[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|custom field]]: [[Custom Field Type (20): Select Many – Check Boxes|Select Many - Check Box]].
2. Add this following code to the '''HTML''' tag setting:
onclick="onlyonechecked(this)"
3. Save the field.
The [[User|user]] will not be able to select more than a single check box with this code in place.
[[Category: Custom Field]][[Category:Java Script Examples]]
1. Create a [[Custom Field|custom field]]: [[Custom Field Type (20): Select Many – Check Boxes|Select Many - Check Box]].
2. Add this following code to the '''HTML''' tag setting:
onclick="onlyonechecked(this)"
3. Save the field.
The [[User|user]] will not be able to select more than a single check box with this code in place.
[[Category: Custom Field]][[Category:Java Script Examples]]