checkboxes not working

jfreak 19 Feb, 2008
Need to know how to make my checkboxes work right. Thx.:dry:
Max_admin 20 Feb, 2008
Hi jfreak,

Just as any other input type! do you have more info about your issue ?

Cheers,

Max<br><br>Post edited by: admin, at: 2008/02/20 01:43
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
acy277 21 Feb, 2008
hi there,

i got the similar problem with the checkbox, i set the checkbox like this:
<input type="checkbox" name="ring me" class="chk" value="yes"/>
what i want is to retrieve the value of the checkbox when the user submit the form with the checkbox checked. but no matter i check the checkbox or not, the result email didnt show any values about it.

thanks,

dennis

btw, i am using Joomla 1.0.13 and chronoform v2381<br><br>Post edited by: acy277, at: 2008/02/21 00:32
jfreak 21 Feb, 2008
This is what I have on my web site for checkboxes:

<h2>
Select any of the checkboxes listed below for the information you are interested in:<br />
<input type="checkbox" name="services" value="Web Design" />Web Design or Redesign<br />
<input type="checkbox" name="services" value="Domain Name Registration" />Domain Name Registration or Transfer<br />
<input type="checkbox" name="services" value="Web Hosting" />Web Hosting<br />
<input type="checkbox" name="services" value="Graphics Design" />Graphics Design<br />
<input type="checkbox" name="services" value="Flash Animation" />Flash Animation<br />
<input type="checkbox" name="services" value="Quality Assurance Services" />Quality Assurance Services
</h2>

This is the link to my web site that has the form:

http://www.alvelowebsolutions.com/request-form.html

When I check more than one box & I submit it, only one choice is shown as being selected.
GreyHead 21 Feb, 2008
Hi jfreak,

You need to use an array name to keep all the values - name="services[]"

Bob
GreyHead 21 Feb, 2008
Hi acy277,

ChronoForms can't digest names with spaces in them. Try name="ring_me"

Bob
acy277 22 Feb, 2008
thanks Bob, it works well now
This topic is locked and no more replies can be posted.