Help! How to define values for radio buttons in email form?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

Help! How to define values for radio buttons in email form?

Post by Nik2004 »

Hi,

I have successfully created a new form, but the radio button options have all the same value, so I can't tell which of the options was selected!

Here is the definition line:

Code: Select all

IR|amount|1|I want to send |150,2|30,00#60,00#90,00#120,00#150,00#200,00|300
and this is the output (in the html code):

Code: Select all

<tr><td><input type="radio" name="amount" value="1" /></td><td class="radioLabel" width="150">30,00</td><td><input type="radio" name="amount" value="1" /></td><td class="radioLabel" width="150">60,00</td></tr>
<tr><td><input type="radio" name="amount" value="1" /></td><td class="radioLabel" width="150">90,00</td><td><input type="radio" name="amount" value="1" /></td><td class="radioLabel" width="150">120,00</td></tr>
<tr><td><input type="radio" name="amount" value="1" /></td><td class="radioLabel" width="150">150,00</td><td><input type="radio" name="amount" value="1" /></td><td class="radioLabel" width="150">200,00</td></tr>
So, everything has a value of "1"; how can I set the value for each option?
Pappnase

Post by Pappnase »

hello

did you read this!?

http://docu.fhss.de/email_form.phtml
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

Still cannot set radio button values

Post by Nik2004 »

I read this (also posted at various places) and still cannot set values for radio button options. All of them appear with a value of 1.

Please can you give a solution or provide me with a working example form (preferably available online) with its form email source as defined in phpwcms admin?
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

OK I found it.

Post by Nik2004 »

OK, it works. I must add %0%<value> or %1%<value> after each option.
Post Reply