need help woth conditional validation controls

  • Thread starter Thread starter Danny Ni
  • Start date Start date
D

Danny Ni

Hi,

I suspect this question was probably asked many times already. How do I
conditionally use validation controls based on the value of other controls?
For instance I have one set of textboxs for billing information, and other
set of textboxes for shipping information and a checkbox to indicate
shipping information is the same as billing, if checkbox is checked, no
validations on shipping. It is easy to validate on server side, I can set
enabled properties to false for shipping textboxes, but I am having problem
doing it on client side.

TIA
 
Hi,

I suspect this question was probably asked many times already. How do I
conditionally use validation controls based on the value of other controls?
For instance I have one set of textboxs for billing information, and other
set of textboxes for shipping information and a checkbox to indicate
shipping information is the same as billing, if checkbox is checked,  no
validations on shipping. It is easy to validate on server side, I can set
enabled properties to false for shipping textboxes, but I am having problem
doing it on client side.

TIA

hi

this question could be better answered in the ASPNET ng. what you can
do is extend the checkbox clientside to copy the billing info to the
shipping info set. in that case when you validate the shipping it will
contains the values.
 
Back
Top