Question : Javascript for form

I am using the code below. Ultimately I need to pass a variable called "amount" to my form processing script. I am not sure how to handle the "other amount". I have not worked with radio buttons on forms below. Any help would be appreciated.
1:
2:
3:
4:
5:
<input type="radio" name="donationAmount" value=25 /> $25 &nbsp;&nbsp;
                	<input type="radio" name="donationAmount" value=50 /> $50 &nbsp;&nbsp;
                 	<input type="radio" name="donationAmount" value=100 />$100 &nbsp;&nbsp;
				<input type="radio" name="donationAmount" value=250 /> 250 &nbsp;&nbsp;
				<input type="radio" name="otherAmount" value="Other" /> Other <input name="amount" type="text" />

Answer : Javascript for form

Use this in your conditional where costcenter is the name of the field

SUBSTRING(LOWER(costcenter),1,1) BETWEEN '0' AND '9'

Random Solutions  
 
programming4us programming4us