OldManRiver Posted December 21, 2008 Share Posted December 21, 2008 All, I'm looking for a good example of toggling both radio and checkboxes. Need at least two or more in the example. Would like it to be 100% PHP if possible. Thanks! OMR Quote Link to comment https://forums.phpfreaks.com/topic/137865-toggling-radio-button-and-checkboxes/ Share on other sites More sharing options...
chronister Posted December 21, 2008 Share Posted December 21, 2008 Please elaborate.... toggling as I understand it would be clicking a link to check all/un check all. If that is what you mean, then you will need to use javascript. To check radio buttons or checkboxes with PHP, you would make it add checked="checked" to the item. Elaborate and more help can be provided. Nate Quote Link to comment https://forums.phpfreaks.com/topic/137865-toggling-radio-button-and-checkboxes/#findComment-720536 Share on other sites More sharing options...
DeanWhitehouse Posted December 21, 2008 Share Posted December 21, 2008 Please at least try it on your own instead of expecting us to hand it to on a plate Quote Link to comment https://forums.phpfreaks.com/topic/137865-toggling-radio-button-and-checkboxes/#findComment-720551 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.