R
rockdale
Hi, all
Is there a way to dynamically attach a regularexpressionvalidator to a
textbox base on dropdownlist selected item?
Let's say I have a dropdownlist list all contact type - phone, cell,
email ...etc and a textbox that allow user to type in their contact
info. When they choose email, I want attach the
regularexpressionvalidator of email to the textbox, when the ddl
selected phone, then I want attach phone regExp to the same textbox.
Any help will be appreciated
thanks
-rockdale
Is there a way to dynamically attach a regularexpressionvalidator to a
textbox base on dropdownlist selected item?
Let's say I have a dropdownlist list all contact type - phone, cell,
email ...etc and a textbox that allow user to type in their contact
info. When they choose email, I want attach the
regularexpressionvalidator of email to the textbox, when the ddl
selected phone, then I want attach phone regExp to the same textbox.
Any help will be appreciated
thanks
-rockdale