AllExperts > Active Server Pages Programming (ASP) 
Search      
Active Server Pages Programming (ASP)
Volunteer
Answers to thousands of questions
 Home · More Active Server Pages Programming (ASP) Questions · Answer Library  · Encyclopedia ·
More Active Server Pages Programming (ASP) Answers
Question Library

Ask a question about Active Server Pages Programming (ASP)
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Ashley Brazier
Expertise
Main focus is ASP, SQL Server 2000 & 2005

Experience
Over 6 years experience.

Education/Credentials
BCs Honours Software Design and Networks

 
   

You are here:  Experts > Computing/Technology > Business Software > Active Server Pages Programming (ASP) > input validation

Active Server Pages Programming (ASP) - input validation


Expert: Ashley Brazier - 3/28/2009

Question
i m doing my final project in asp i have the following problems
1.if a form need numaric data so that is must accept only numaric data.so how to define numaric data in asp?
2.what is tha proper way of email validation

Answer
Hi,

Two ways to do this, you can validate the form using Javascript, this is probably the best way. Or you could make a function that validates if the item entered is validated. Like I mentioned before it would probably be better to do this using Javascript as you can validate on the client side.

Email validation is mostly done using Javascript, you should fine plenty of functions on the web to perform this as well as the numerical check

Hope this helps.

CHeers

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.