onclick="onlyonechecked(this)"
'''NOTE: It is normally better to use a [[Combo Box]] custom field with ''Show as Radio Buttons'' selected'''
This can be used for: * [[Custom Field Type: Select Many – Check Boxes|Select Many - Check Box]]<!--:*:and * [[Custom Field Type: Select Many – Scrolling Check Box|Select Many - Scrolling Check Box]]-->
The [[User|user]] will not be able to select more than a single check box with this code in place.
==Note==
* If using '''onlyonechecked''' on a [[Custom Field Type: Select Many – Check Boxes|Select Many - Check Box]] field and you also want to [[Show/Hide Header]] you should use '''_showhideheader''' instead of '''_showhideheadercheckbox'''
[[Category: Custom Fields]][[Category:JavaScript]]