Forums

Having problems with radio buttons

rila1 11 Feb, 2009
Hi,

Yesterday, I created my first form with Chrone - it is a great tool - Thanks for building it :-) I had several small issues, but I was able to find all the answers in the tutorials and in the forum.

However, I have problem with radio buttons - I am not able to see which buttons is checked in the email sent by the form.

<<<<<<<<<<<<<<part of the HTML code from my form>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

 <label>
    <input type="radio" name="RadioGroup1" value="radio" id="RadioGroup1_0" />
    I have uploaded all available documentation for this enquiry.</label>
  <br />
  <label>
    <input type="radio" name="RadioGroup1" value="radio_all" id="RadioGroup1_1" /></label>
  I  have uploaded only some of the available documents for this enquiry, and I will  post the rest.<br />
      <label>
    <input type="radio" name="RadioGroup1" value="radio_some" id="RadioGroup1_2" />
    I will post the available documentation for this enquiry.</label><br />
      <label>
    <input type="radio" name="RadioGroup1" value="radio_will_post" id="RadioGroup1_3" />
   I will provide the documentation only after I have received a signed confidentiality agreement.</label><br />
      <label>
    <input type="radio" name="RadioGroup1" value="radio_other" id="RadioGroup1_4" />
    Other  Please, explain:</label>


And no matter which button I check, I am receiving this in my email:
<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Please, select only one answer.

radio I have uploaded all available documentation for this enquiry.
radio I have uploaded only some of the available documents for this enquiry, and I will post the rest.
radio I will post the available documentation for this enquiry.
radio I will provide the documentation only after I have received a signed confidentiality agreement.
radio Other Please, explain.
<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

It is not clear which button is checked. Am I missing something? I hope you will be able to help me with this. Thanks.
GreyHead 11 Feb, 2009
Hi rila1,

The automatic email template doesn't work at all well for radio buttons & check boxes. I've posted corrected versions of the template html several times - once earlier today. I'm hoping that the next release will fix this.

Bob
rila1 11 Feb, 2009
Please provide a link to the topic where you are explaining how to make radio buttons work.... or explain here real quick. Thanks
Max_admin 11 Feb, 2009
Hi rila,

in your email's template you will find some code for your radios part like this:

radio I have uploaded all available documentation for this enquiry.
radio I have uploaded only some of the available documents for this enquiry, and I will post the rest.
radio I will post the available documentation for this enquiry.
radio I will provide the documentation only after I have received a signed confidentiality agreement.
radio Other Please, explain. 


replace it all with:
{RadioGroup1}


and you will get the value of the selected radio!

cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rila1 12 Feb, 2009
GREAT!!! It is working now. I am able to see the value of the selected radio button.

Thank you very much!
This topic is locked and no more replies can be posted.