Would someone be so kind as to provide sample code for checkboxes in CGBetterForms.
Thank you,
GCG
CGBetterForms - Sample Checkbox Code
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: CGBetterForms - Sample Checkbox Code
Code: Select all
<input type="checkbox" name="something" value="1"/>\
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: CGBetterForms - Sample Checkbox Code
Thank you. I thought it would be more than the usual checkbox code, since the code for radio buttons in CGBetterForms is more complex than the usual HTML radio code.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: CGBetterForms - Sample Checkbox Code
The code for a radio button is exactly the same.
UNLESS you want to take advantage of other convenient like 'setting' the selected flag of a radio button group from smarty variables etc.
UNLESS you want to take advantage of other convenient like 'setting' the selected flag of a radio button group from smarty variables etc.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.