Postcode validation
Hi
Is there a way to use the validation toolkit to allow only selected postcodes.
Example allow SW1;SW3;SW5 . Thank you.
Hi
Is there a way to use the validation toolkit to allow only selected postcodes.
Example allow SW1;SW3;SW5 . Thank you.
you could do this by using the regular expression validation.
Here is an example that will force the string to begin with "sw", allow a 1,3 or 5 as the third character (/^sw(1|3|5)), followed by a blank space (\s) and 3 letters or numbers ([a-zA_Z0-9]{3})
/^sw(1|3|5)\s[a-zA_Z0-9]{3}$/i
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.