Hi,
I wanted to make a form for my first website and found chronoforms, which i like very much.
The only trouble i have is the checkbox don't work.
It must be possible to check more than one item.
Thank you all for you help..
This is my email template code:
and this is my form code:
I wanted to make a form for my first website and found chronoforms, which i like very much.
The only trouble i have is the checkbox don't work.
It must be possible to check more than one item.
Thank you all for you help..
This is my email template code:
Aanmeldingsformulier Inmaxxa Vermogensbeheer
Naam: {text_5}
Voorletter(s): {text_6}
Adres: {text_7}
Postcode: {text_3}
Plaats: {text_8}
Telefoon: {text_4}
Email: {text_2}
Producten Inmaxxa:
{radio0} Managed Futures Fdax
{radio0} Managed Futures Fti
{radio0} Wereldselectie Turbo'S
and this is my form code:
<DIVclass="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_text"><SPAN class="cf_text">Aanmeldingsformulier Inmaxxa Vermogensbeheer</SPAN></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Naam</LABEL><INPUT name="text_5" type="text" id="text_5" size="30" maxlength="150" class="cf_inputbox required"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Voorletter(s)</LABEL><INPUT name="text_6" type="text" id="text_6" size="30" maxlength="150" class="cf_inputbox required"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Adres</LABEL><INPUT name="text_7" type="text" id="text_7" size="30" maxlength="150" class="cf_inputbox required"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Postcode</LABEL><INPUT name="text_3" type="text" id="text_3" size="30" maxlength="150" class="cf_inputbox required"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Plaats</LABEL><INPUT name="text_8" type="text" id="text_8" size="30" maxlength="150" class="cf_inputbox required"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Telefoon</LABEL><INPUT name="text_4" type="text" id="text_4" size="30" maxlength="150" class="cf_inputbox required"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Email</LABEL><INPUT name="text_2" type="text" id="text_2" size="30" maxlength="150" class="cf_inputbox required validate-email"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_checkbox"><LABEL class="cf_label">Producten Inmaxxa</LABEL><DIV class="float_left"><INPUT name="_ Managed Futures Fdax" id="_ Managed Futures Fdax" class="radio validate-one-required" type="checkbox"><LABEL class="check_label" for="_ Managed Futures Fdax"> Managed Futures Fdax</LABEL><BR><INPUT name="_ Managed Futures Fti" id="_ Managed Futures Fti" class="radio" type="checkbox"><LABEL class="check_label" for="_ Managed Futures Fti"> Managed Futures Fti</LABEL><BR><INPUT name="_ Wereldselectie Turbo's" id="_ Wereldselectie Turbo's" class="radio" type="checkbox"><LABEL class="check_label" for="_ Wereldselectie Turbo's"> Wereldselectie Turbo's</LABEL><BR></DIV></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_button"><INPUT name="undefined" type="submit" value="Verzenden"></DIV><DIV class="clear"> </DIV></DIV>
This is the output in email:Aanmeldingsformulier Inmaxxa Vermogensbeheer
Naam: ---
Voorletter(s): M.
Adres: ---
Postcode: ---
Plaats: ---
Telefoon: ---
Email: [email]---@tiscali.nl[/email]
Producten Inmaxxa:
{radio0} Managed Futures Fdax
{radio0} Managed Futures Fti
{radio0} Wereldselectie Turbo'S
Hi Daxtrading,
The wizard does very well until it comes to these elements . . . they need a little tweaking.
First: change the names of all your checkbox elements so that they are the same (within this group); make them array names so that all the results are returned and add values to the inputs.
Next change the email template so that there is only one entry for the group
Bob
The wizard does very well until it comes to these elements . . . they need a little tweaking.
First: change the names of all your checkbox elements so that they are the same (within this group); make them array names so that all the results are returned and add values to the inputs.
. . .
<input name="producten[]" id="producten1" class="radio validate-one-required" type="checkbox" value="Managed Futures Fdax" />
<LABEL class="check_label" for="producten2">Managed Futures Fdax</LABEL>
<BR>
<INPUT name="producten[]" id="producten2" class="radio" type="checkbox" value="Managed Futures Fti" />
. . .
NB - I've also changed the ids here.Next change the email template so that there is only one entry for the group
Producten Inmaxxa: {producten}
and that should do it.Bob
Hi Bob,
I did this:
Form code
Email template:
What am i doing wrong?
I did this:
Form code
<DIVclass="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_text"><SPAN class="cf_text">Aanmeldingsformulier Inmaxxa Vermogensbeheer</SPAN></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Naam</LABEL><INPUT name="text_5" type="text" id="text_5" size="30" maxlength="150" class="cf_inputbox required"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Voorletter(s)</LABEL><INPUT name="text_6" type="text" id="text_6" size="30" maxlength="150" class="cf_inputbox required"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Adres</LABEL><INPUT name="text_7" type="text" id="text_7" size="30" maxlength="150" class="cf_inputbox required"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Postcode</LABEL><INPUT name="text_3" type="text" id="text_3" size="30" maxlength="150" class="cf_inputbox required"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Plaats</LABEL><INPUT name="text_8" type="text" id="text_8" size="30" maxlength="150" class="cf_inputbox required"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Telefoon</LABEL><INPUT name="text_4" type="text" id="text_4" size="30" maxlength="150" class="cf_inputbox required"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_textbox"><LABEL class="cf_label">Email</LABEL><INPUT name="text_2" type="text" id="text_2" size="30" maxlength="150" class="cf_inputbox required validate-email"></DIV><DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_checkbox"><LABEL class="cf_label">Producten Inmaxxa</LABEL><DIV class="float_left">
<input name="producten[]" id="producten1" class="radio validate-one-required" type="checkbox" value="Managed Futures Fdax" />
<LABEL class="check_label" for="producten1">Managed Futures Fdax</LABEL>
<BR>
<input name="producten[]" id="producten2" class="radio" type="checkbox" value="Managed Futures Fti" />
<LABEL class="check_label" for="producten2">Managed Futures Fti</LABEL>
<BR>
<input name="producten[]" id="producten3" class="radio" type="checkbox" value="Wereldselectie Turbo's" />
<LABEL class="check_label" for="producten3">Werledselectie Turbo's</LABEL>
<BR>
<DIV class="clear"> </DIV></DIV><DIV class="form_item" ><DIV class="form_element cf_button"><INPUT name="undefined" type="submit" value="Verzenden"></DIV><DIV class="clear"> </DIV></DIV>
Email template:
Aanmeldingsformulier Inmaxxa Vermogensbeheer
Naam: {text_5}
Voorletter(s): {text_6}
Adres: {text_7}
Postcode: {text_3}
Plaats: {text_8}
Telefoon: {text_4}
Email: {text_2}
Producten Inmaxxa:
{radio0}
email result:Aanmeldingsformulier Inmaxxa Vermogensbeheer
Naam: ggg
Voorletter(s): gggg
Adres: gggg
Postcode: ggg
Plaats: ggg
Telefoon: gggg
Email: [email]broekieman@tiscali.nl[/email]
Producten Inmaxxa:
{radio0}
What am i doing wrong?
Hi Daxtrading,
Sorry, my mistake I forgot to change the name in the email template.
Bob
PS I've corrected my earlier post for future readers.
Sorry, my mistake I forgot to change the name in the email template.
Producten Inmaxxa: {radio0}
should beProducten Inmaxxa: {producten}
Bob
PS I've corrected my earlier post for future readers.
Hi Bob,
I've done it, thanks for your help.
It's great to see how the w.w.w. can bring the right people together....🙂
I've done it, thanks for your help.
It's great to see how the w.w.w. can bring the right people together....🙂
This topic is locked and no more replies can be posted.