garfield11
IS-IT--Management
Hi all,
Below are 2 radio button to display either Contact type is by phone call or thru' meeting:
<TR><TD valign="top">Contact Type ?</TD>
<TD valign="top"><INPUT TYPE="radio" name="ContactType" value=0
<% ' Check this radio button if the existing value = 1
If edit <> -1 Then
If objRS("ContactType"
= False Then
Response.Write " CHECKED "
End If
End If %> checked>Phone Call</OPTION>
<INPUT TYPE="radio" name=ContactType value=1
<% If edit <> -1 Then
If objRS("ContactType"
= True Then
Response.Write " CHECKED "
End If
End If %>>Meeting</OPTION></SELECT></TD></TR>
Now, how can i make a javascript to check
- if user select "Phone Call" option they must fill up the phone number in the text box else an alert message will pops out?
Thanks!
Love_Garfield
Below are 2 radio button to display either Contact type is by phone call or thru' meeting:
<TR><TD valign="top">Contact Type ?</TD>
<TD valign="top"><INPUT TYPE="radio" name="ContactType" value=0
<% ' Check this radio button if the existing value = 1
If edit <> -1 Then
If objRS("ContactType"
Response.Write " CHECKED "
End If
End If %> checked>Phone Call</OPTION>
<INPUT TYPE="radio" name=ContactType value=1
<% If edit <> -1 Then
If objRS("ContactType"
Response.Write " CHECKED "
End If
End If %>>Meeting</OPTION></SELECT></TD></TR>
Now, how can i make a javascript to check
- if user select "Phone Call" option they must fill up the phone number in the text box else an alert message will pops out?
Thanks!
Love_Garfield