From BC$ MobileTV Wiki
Jump to: navigation, search

Form Processing

Form processing is an important capability that must be handled both securely and reliably by any website or web service.


Input is the actual data being passed from an HTML (or WAP, xHTML or SemanticForms) form, to the server-side processing script or language (which may be written in PHP, JAVA, Python, Ruby, C#, Visual Basic, etc...)

Radio Buttons


Form Validation

Form validation is the important process of checking and validating the input of a web form before processing it.

Client-side validation

It is important to valid the form input both before passing it to the server (on the client, through client-side languages such as JavaScript) and after receiving it at the server, but before changing the state of any stored objects or processing any further commands, programs or applications (in the server-side language such as JSP, ASP, PHP, ColdFusion, Ruby, Python, etc).

[1] [2] [3] [4] [5]

HTML5 pattern

The pattern attribute is a mechanism added to HTML5 for specifying valid formats of certain input fields (text, email, password, etc).

[6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25]

Server-side Validation






Client-Side validation

Server-Side validation


External Links


  1. Inline Validation in Web Forms:
  2. Detecting Locale:
  3. MozDev -- NavigatorLanguage.languages:
  4. Best way to determine user's locale within browser:
  5. Detect foreign language support using JavaScript:
  6. Constraint Validation -- Native Client Side Validation for Web Forms:
  7. HTML5 Form Validation With the “pattern” Attribute:
  8. Building HTML5 Form Validation Bubble Replacements:
  9. Creating A Custom HTML5 Form Validation:
  10. Why you should be using HTML5 form validation - a tour:
  11. HTML5 form required attribute - Set custom validation message?:
  12. Provide custom validation messages using setCustomValidity in HTML 5 pages:
  13. Form required attribute with a custom validation message in HTML5:
  14. Fun with HTML Form Validation Styles:
  15. Why is Chrome showing a “Please Fill Out this Field” tooltip on empty fields?:
  16. How can I change or remove HTML5 form validation default error messages?:
  17. HTML5 -- formnovalidate attribute to skip validation on individual fields in a FORM:
  18. Form Validation –- Part 1 - Constraint Validation in HTML:
  19. Form Validation –- Part 2 - Form Validation Part 2: The Constraint Validation API (JavaScript) :
  20. Form Validation –- Part 3 - A Validity State API Polyfill:
  21. Form Validation –- Part 4 - Validating the MailChimp Subscribe Form:
  22. email_validation.js:
  23. RegEx to fully validate RFC822 email addresses:
  24. How to validate an email address using a regular expression?:
  25. Form Validation UX in HTML and CSS:
  26. OWASP Validation Regex Repository:
  27. How to Quickly Add Validation Code to Swing UIs:
  28. Simple Inline Form Validator with Pure Javascript:
  29. Minimal HTML5 Form Validation Library – okjs:
  30. A Simple HTML5 Form Validation:
  31. Pure javascript HTML5 text type number range validation:
  32. Quick Tip - Easy form validation with HTML5:
  33. A Simple HTML5 Form Validation:
  34. HTML5 Form Validation:
  35. Using novalidate:

See Also

Security | Validation | Email | PHP | JSP | Java | JS | Upload