Jump to content

How to assign textbox value to radio button value


phpnewnoob

Recommended Posts

Hi,

 

Noob needs help: need to assign the value of the textbox ("tbox") to the value of the radio button, can someone help me how to make it work?

 

<code>

<input name="tbox" type="text" class="field text medim" size="15"/><br>

<input type="radio" name="ampaid" value="$tbox"/>Paid <br>

<input type="radio" name="amret" value="$tbox"/>Returned

</code>

 

thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.