February 19th, 2013, 06:52 AM
I have managed to create this simple form, how do I parse info the user clicks on.
<form id='sampleform' method='post' action='myurl.com' >
Name: <input type='text' name='Name' />
Email: <input type='text' name='Email' />
<input type="radio" name="subject" value="maths" /> £10
<input type="radio" name="subject" value="physics" /> £5
<input type="radio" name="subject" value="physics" /> £3
£<input type='text' name='donate-amount' />
<input type='submit' name='Submit' value='Submit' />
February 19th, 2013, 07:07 AM
the current radio buttons make no sense, because the value of the last two is the same. This makes them indistinguishable.
February 19th, 2013, 09:16 AM