• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: CGBetterForms - Sample Checkbox Code
PostPosted: Fri May 10, 2019 2:59 pm 
Offline
Forum Members
Forum Members

Joined: Wed Jan 12, 2011 9:15 pm
Posts: 29
Would someone be so kind as to provide sample code for checkboxes in CGBetterForms.

Thank you,

GCG


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CGBetterForms - Sample Checkbox Code
PostPosted: Fri May 10, 2019 3:30 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 8172
Location: Fernie British Columbia, Canada
\$1:
<input type="checkbox" name="something" value="1"/>\


Just tested, works fine here.

_________________
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CGBetterForms - Sample Checkbox Code
PostPosted: Fri May 10, 2019 3:55 pm 
Offline
Forum Members
Forum Members

Joined: Wed Jan 12, 2011 9:15 pm
Posts: 29
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CGBetterForms - Sample Checkbox Code
PostPosted: Fri May 10, 2019 4:19 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 8172
Location: Fernie British Columbia, Canada
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.

_________________
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting