Validation Question

K

Keith Kowalski

I have The Following. (Visual Studio - ASP using VB)

Radiobutton with groupname="JNL"
ID="rb1"
Text="yes"
Runat="server"
Autopostback="True"

Radiobutton with groupname="JNL"
ID="rb2"
Text="no"
Runat="server"
Autopostback="True"

TextBox
ID="TXT1"
Runat="server"
Maxength="35"

What I am looking for is that when a person clicks yes on Radiobutton rb1 I
need the textbox to be required.

In other words .... Textbox only required if Radiobutton.text = yes

Please Help.
Keith
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top