Radio Select problem

wxdqz

New Member
I have an update form that comes up with an "Approved" and "Disapproved" radio selection. It works but I dont like how it automatically checks the "Disapproved" button when the form comes up for the first time. I was hoping the form would come up with "Approved" and "Disapproved" not selected so it allows me to make a selection of one of the two selections. Please advise how I can correct this using Javascript instead of Cold Fusion because I cant get it to work.



APPROVED
<INPUT TYPE="radio" NAME="approved" VALUE=http://www.webdeveloper.com/forum/archive/index.php/"1" <CFIF #myquery.approved# Is 1>CHECKED</CFIF>>

DISAPPROVED
<INPUT TYPE="radio" NAME="approved" VALUE="0" <CFIF #myquery.approved# Is 0>CHECKED</CFIF>>
 
Back
Top