Buy Now
Sign in

e-mail template for sending radio butons

Rutger1973 , October 25 2020, 09:23
R
Rutger1973 16
October 25 2020, 09:23 #394508
Hi,
Seems like a simple topic but I cannot find the proper info... I am using chronoform v4 in Joomla 3.9
I am building a cake configurator. Different slider containers for each feature that can be selected with a radio box. Somehow, I cannot figure out what code I need to generate the correct e-mail. This is the form code:
What code do I need to generate so the checked radiobox will be in the e-mail? Or maybe there is a tutorial?
Thanks!
<div class="ccms_form_element">
<?php
jimport("joomla.html.html.sliders");
echo JHtmlSliders::start("cf_container_1");
?>

<?php echo JHtmlSliders::panel("Taartvorm", "cf_container_2"); ?>
<div class="ccms_form_element cfdiv_radio" id="taart_vorm1_container_div" style=""><label>Taart vorm</label><input type="hidden" name="taart vorm" value="" alt="ghost" />
<div style="float:left; clear:none;"><input type="radio" name="taart vorm" id="taart_vorm_0" title="" value="rond" class="validate['required']" />
<label for="taart_vorm_0">rond</label>
<input type="radio" name="taart vorm" id="taart_vorm_1" title="" value="rond stapel" class="validate['required']" />
<label for="taart_vorm_1">rondstapel</label>
<input type="radio" name="taart vorm" id="taart_vorm_2" title="" value="vierkant" class="validate['required']" />
<label for="taart_vorm_2">vierkant</label>
<input type="radio" name="taart vorm" id="taart_vorm_3" title="" value="vierkant stapel" class="validate['required']" />
<label for="taart_vorm_3">vierkantstapel</label>
</div><div class="clear"></div><div id="error-message-taart vorm"></div></div>


<?php echo JHtmlSliders::end(); ?>
<div class="clear"></div>
</div>

<div class="ccms_form_element">
<?php
jimport("joomla.html.html.sliders");
echo JHtmlSliders::start("cf_container_5");
?>

<?php echo JHtmlSliders::panel("Aantal personen", "cf_container_6"); ?>
<div class="ccms_form_element cfdiv_radio" id="aantal_personen1_container_div" style=""><label>Aantal personen</label><input type="hidden" name="aantal personen" value="" alt="ghost" />
<div style="float:left; clear:none;"><input type="radio" name="aantal personen" id="aantal_personen_0" title="" value="6" class="" />
<label for="aantal_personen_0">6</label>
<input type="radio" name="aantal personen" id="aantal_personen_1" title="" value="12" class="" />
<label for="aantal_personen_1">12</label>
<input type="radio" name="aantal personen" id="aantal_personen_2" title="" value="18" class="" />
<label for="aantal_personen_2">18</label>
<input type="radio" name="aantal personen" id="aantal_personen_3" title="" value="18+" class="" />
<label for="aantal_personen_3">18+</label>
</div><div class="clear"></div><div id="error-message-aantal personen"></div></div>


<?php echo JHtmlSliders::end(); ?>
<div class="clear"></div>
</div>
<div class="ccms_form_element cfdiv_submit" id="input_submit_41_container_div" style="text-align:left"><input name="input_submit_4" class="" value="Submit" type="submit" />
<div class="clear"></div><div id="error-message-input_submit_4"></div></div><div class="ccms_form_element cfdiv_empty" id="empty_container_div" style=""><div class="clear"></div><div id="error-message-empty"></div></div>