Being JSON immediately parsable by both Javascript and PHP it is possible to exploit it to keep the regular expressions for the input fields in a single place, and avoid mantaining them synched between the Js and PHP scripts! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php