Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI All,

Got in a trouble and here to have a solution from your kind knowledge.

Well problem is that I have couple of textboxes which should be filled if I have a specific value selected in a dropdown list...
I>E if dropdown.selectedvalue==1 than textbox1 & textbox2 should not be left blank.

I want this validation.. but main problem is a working javascript on my page which i am using to validate another scenario.. and if i try any Javascript for my current scenario.. both got collapse... Can anybody provide me a solution???

Will be thankful if solution could be on the client side and not the server side..

Regards,
Posted
Comments
Ankur\m/ 27-Jun-13 8:12am    
And how is it colliding? Show us some code.
VICK 27-Jun-13 8:24am    
I have few validators in my form.. which got called on button click.. and I have a JavaScript which got enabled when there is any validation performed on the page and put the fields in red colur until filled...along with that textbox1 & textbox2 are only visible whn i select a specific value from dropdown....and i want to validate those twoboxes on the same time when first javascript is being called..

Sorry..due to restrictions unable to post the code... :(
bbirajdar 27-Jun-13 9:36am    
If you dont post the code, then how are we supposed to fix it. ?? Get help from somebody in your team
VICK 28-Jun-13 7:10am    
Ok.. thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900