Example of a standard call for phone validation without correction:
var dqephone = $('#my_phone_field').dqephone({
server: 'classes/dqe.php',
format: 0,
autocheck: false,
country: '#my_country_field'
});
Only the "server" parameter is mandatory, the others can be omitted. If the "autocheck" parameter is omitted, it is considered “true”. fstatus
Parameter | Description |
server | Address of the file located on your server that will call the DQE Phone webservices |
autocheck | When this parameter is set to "true", validation starts automatically as soon as you leave the input field of the phone |
Format |
0: Only numbers 1: With separators 2: International with space every 2 digits 3: International with a space after the country code 4: International with the (0) 5: International without space 6: International with space and the (0) |