I have a web form that should only accept valid Australian phone numbers.
I have data-type="phone"
on the phone field though the parsley.js
file does not recognize Australian number formats.
I have attempted to edit the parsley.js
file without any success. Does anyone have the code to accept Australian number formats?
Failing that, how could I make the phone number field a required digit field that also accepts spaces and a minimum of 8 digits? data-type"digit"
doesn't seem to allow any spaces.