Validating textbox in gridview Toronto sex chatrooms
For examples on how to check if a Text Box contains a number (and how to restrict this using Java Script) please check out the article about How to check if a Text Box contains a number).
This filters the content of the Text Boxes for you but there are ways to get around this filter so I strongly recommend that you do server side validation as well (which I have not done in my code).
Since you have a range (1-40) to validate as well, I recommend using an ASP.
When "Other" is selected for country, show a textbox to show enter what the "Other" country is Make sure that a value is entered in the textbox when "Other" is selected First the Grid View, for simplicity I'm just showing the country dropdownlist and the Text Box.
Both those controls are included in a templatefield in the Grid View Leaving out the databinding details.
Here is the HTML rendered demo, In this requiredfield validator js code is not included, So It will not work.