Hi,<BR>I have a list box (User name)that is populated from a user table. Then I have two radio button. radio button1 is for user email and radio button2 is for other than useremail. There is a text box for email. What I want to do is when a user selects a username from the list box and selects radio1 button,automatically the selected user's email should appear in the text box. If the user selects the username from the list box but selects the radio button2 then the text box should be blank and they should be able to type the email in the text box.<BR>Can somebody give any suggestion how to do this.<BR>I had done like this but doesnot work.<BR><BR><INPUT TYPE="radio" NAME="Uemail" VALUE=" ">User's Email&nbsbp <BR><INPUT TYPE="radio" NAME="Oemail" VALUE=" ">Different than users<BR><TR><BR><TD ALIGN="left"><B>E-Mail:<BR><BR><%Dim Uemail, Oemail<BR>If Uemail="checked" Then<BR> <BR>Set rs= Server.CreateObject("ADODB.Recordset")<BR>sql="Sel ect Email From tblusers Where userID='"& Request.Form("UserID")&"'"<BR>Set rs=objConn.Execute(sql)%><BR><INPUT TYPE="TEXT" NAME="Email" SIZE="30" value="<%=rs("Email")%>"><BR><BR>&# 060;%Else%><BR><INPUT TYPE="TEXT" NAME="Email" SIZE="30"><BR><%End If%><BR></TD><BR></TR> <BR><BR>Can somebody kindly check my code and help me please?<BR><BR>Thanks.