This is a discussion on "Form validation - UK postcode" within the JavaScript Forum section. This forum, and the thread "Form validation - UK postcode are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Form validation - UK postcode
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Form validation - UK postcode
Hi i need js validation for my form, iv done everything except validation for a UK postcode, iv had a look on the net, but all the examples seem pretty complicated. Can anyone help?
|
|
|
|
|||
|
Re: Form validation - UK postcode
Hi. Here's a little checker using a RegEx which complies with all BS 7666 postcode format rules. I used this a while on a JS validated form. Enjoy!
Sincerely, Rob Hardy |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AS Form / Validation Help | papalazarou78 | Flash & Multimedia Forum | 0 | Jul 31st, 2007 19:43 |
| Form Validation | cjrollo | Flash & Multimedia Forum | 0 | Feb 22nd, 2007 17:33 |
| Form Validation | feebee | JavaScript Forum | 1 | Aug 3rd, 2006 16:12 |
| PHP Form Validation ??? | j4mes_bond25 | PHP Forum | 2 | May 31st, 2006 23:08 |
| Form validation | brittny | JavaScript Forum | 2 | Jul 8th, 2005 19:46 |