1 Attachment(s)
HELP! Server side validation for phone number
Hello, my name is Yuni. I need help in my assignment! Hope any kind soul could help me solve my problem!
My problem is that whenever I type alphabet into the contact number field, there will be error. How could I solve the error by typing what code?
I can validate the minimum input length and client side coding, but I do not know how to code in order to prevent error when typing in invalid answer.
Below is an example of the error if I type "a" into [contact no] field.
Attachment 589
What should I do???
I posted on other forums... they didnt reply me.. I was wondering is it because i provide lack of information??
Thanks
:D
Re: HELP! Server side validation for phone number
Quote:
is it because i provide lack of information??
You need to show the lines of code that are checking the contents of the number field.
Re: HELP! Server side validation for phone number
Simply check if all chars are numbers?
1 Attachment(s)
Re: HELP! Server side validation for phone number
Attachment 623
SORRY, I NEED SERVER SIDE VALIDATION FOR NUMBER FOR NETBEANS JSP , BUT NOT NETBEANS JAVA PROGRAMMING. THANKS!
Re: HELP! Server side validation for phone number
lol? Isnt it comedy when people cannot tell the difference between java and website scripting:D
Re: HELP! Server side validation for phone number
As Norm pointed out, you've provided next to no information, so I'm not sure how you expect to get advice without any context to the question. Suggested reading: How To Ask Questions The Smart Way