I want to make a link to a form that populates a radio button group when the form loads:
page 1: link makes buttonX selected
form 1: onLoad(something) makes buttonX selected, based on referring page (page1-button1, page2-button2) or by link (form1.jsp?name=value)
I've tried this in PHP, but I know nothing about it, and when I did try it, it worked for a while, then mysteriously stopped working.
try using location.search.substring(...) and then assigning the appropriate button.
document.formname.radiobutton[X].checked = true;