Need Help, radio buttons that get value from text

liunx

Guest
I have some radio buttons that assign the price of an item.(ie radio button 1 = 50, radio button 2 = 40 radio button 3 = 30, etc) I would also like for one of the radio buttons to be atached to a text field so that when that button is selected, whatever the price the user types into the text field becomes the value of the radio button. How can I do this?<!--content-->Probably an onclick event. Might want to do some validation, but here's the gist...<br />
<input type="radio" onclick="this.value=document.forms[0].textfield.value;" /><!--content-->
 
Back
Top