I am trying to use a radio button to prefill a field on a form on the same page.
Basically the user search for an item, it give 4 options in form name=options and when they select the radio it should prefill the name on the form name=order
Have search the site and though below should work, however it does not:
<input type=radio name=Results value="Option1" onclick="document.Orders.Item.value=this.value;">
Not really got a clue on Javascript so any help much appreciated.
Basically the user search for an item, it give 4 options in form name=options and when they select the radio it should prefill the name on the form name=order
Have search the site and though below should work, however it does not:
<input type=radio name=Results value="Option1" onclick="document.Orders.Item.value=this.value;">
Not really got a clue on Javascript so any help much appreciated.