Alma Alabama (AL) Blog Directory
Latest Blog Posts from Alma, AL
- Validate a Text Field or textarea for Blank Fields by AJAXPHPSCHOOL on Dec 20, 2008
Spare the network an unnecessary hit if the user leaves any required form fields blank. No web developers want their Ajax applications to hit the network with requests if the users leave necessary text fields blank. Thus, checking that input elements...
- Check email syntax on the client side before the server component takes over. by AJAXPHPSCHOOL on Dec 20, 2008
Many web sites ask their users to register their email addresses as usernames. This hack makes sure the syntax of the entered email address is valid, before the server component finds out whether the email address has already been used as a user iden...
- Validate Unique Usernames by AJAXPHPSCHOOL on Dec 20, 2008
Ensure that an email address used as a username is unique but do not submit anything else on the page. The email-address validation performed in "Validate Email Syntax" [Hack #23] allows you to safely send the email address off to the serv
- Validate Credit Card Numbers by AJAXPHPSCHOOL on Dec 20, 2008
Validate credit card numbers without submitting and refreshing the entire web page. Entering a credit card number on a web page has become commonplace. This hack verifies the entered credit card number, then submits it to the server component only if...
- Validate Credit Card Security Codes by AJAXPHPSCHOOL on Dec 20, 2008
Make sure the security code is entered correctly in your Ajax credit card application. The card security code, or CSC, is the three- or four-digit number that is printed on the back of a credit card, along with the card number (see http://en.wikipedi...
- Validate a Postal Code by AJAXPHPSCHOOL on Dec 20, 2008
This hack checks what the user has entered in a text field and makes sure that the value represents the proper format for a U.S. ZIP Code. We'll only look at the basics of validating a ZIP Code here. If you want to take it beyond just validating.





