Australian Phone # Validation
We need a client side phone number validation system to be implemented for use with our existing web signup forms.
The validation needs to:
– force collection of 10 digit phone number
– force all numbers to start with 0
– force second digit to be one of valid options for Australian numbers
– force third digit to be valid for an Australian number in accordance with what was entered for second digit
– present phone number to user on front end according to the type of number (landline vs mobile) they enter, eg:
(02) 9555 5555
(03) 8333 3333
0411 2222 2222
0430 9999 8888
This would be using input masks such as this:
http://www.wiseblocks.com/input-components/edit-mask-ICTextMask.html
Note that if the number starts with 04 (mobile) then the input mask is different to 02, etc.
– Any phone numbers entered would be presented to the user in one format, and entered in a hidden field in the raw format: xx xxxx xxxx
This project has two required aspects:
1) Researching the various valid Australian phone number formats, presenting the exact logic to be employed and the source of information used to determine which formats are possible.
2) Client side code to present the input field masked as required to the end user, validate the data on the fly during entry, populate hidden field for form submission.
Our site is currently using MooTools for presentation and effects so the end code would need to be compatible with existing scripts. We will provide a staging server where the solution developed will need to be integrated and tested as a part of the hand-over.
In order for your bid to be successful you will have to demonstrate that you understand the intricacies of the possible Australian phone numbers, ie. the relationship between the second and third digits and what digits are valid options.
Anyone who can provide us with information to satisfy requirement 1) above will have preference when selecting bids.
NB: We are interested in establishing working relationships with people who can provide:
– clear communications
– good time management
– thorough understanding
– good working methodology
These elements are all more important to us that the project cost.



