N
Nikhil
I have a simple question i hope,
I have a drop down with the value's "A" and "B"
If i selected any values from my drop down other than "B" i want the "name"
and "address" fields to be required by the user, however, if i select "B"
these fields are not required.
Please Help!!
I had a script like this going, but i know i am off:
<SCRIPT language = "javaScript">
if (deal_type = "B")
<!--webbot bot="Validation" b-value-required="FALSE" --><select size="1"
name="Name" style="background-color: #faebd7" tabindex="11"> and <!--webbot
bot="Validation" b-value-required="FALSE" --><select size="1" name="Address"
style="background-color: #faebd7" tabindex="11">
else
<!--webbot bot="Validation" b-value-required="TRUE" --><select size="1"
name="Name" style="background-color: #00FFFF" tabindex="11"> and <!--webbot
bot="Validation" b-value-required="TRUE" --><select size="1" name="Address"
style="background-color: #00FFFF" tabindex="11">;
</SCRIPT>
I have a drop down with the value's "A" and "B"
If i selected any values from my drop down other than "B" i want the "name"
and "address" fields to be required by the user, however, if i select "B"
these fields are not required.
Please Help!!
I had a script like this going, but i know i am off:
<SCRIPT language = "javaScript">
if (deal_type = "B")
<!--webbot bot="Validation" b-value-required="FALSE" --><select size="1"
name="Name" style="background-color: #faebd7" tabindex="11"> and <!--webbot
bot="Validation" b-value-required="FALSE" --><select size="1" name="Address"
style="background-color: #faebd7" tabindex="11">
else
<!--webbot bot="Validation" b-value-required="TRUE" --><select size="1"
name="Name" style="background-color: #00FFFF" tabindex="11"> and <!--webbot
bot="Validation" b-value-required="TRUE" --><select size="1" name="Address"
style="background-color: #00FFFF" tabindex="11">;
</SCRIPT>