Dear CF Team,
I have set the data-inputmask in my field for mobile phone number.
Extra Params: data-inputmask='mask' : '+601999999999'
Max Length: 12
But in my country have two (2) type length of digits (11 digits & 12 digits)
if the user put 11 digits number, my input mask have underscore "_" at last of the digit.
but the problems when user submit the form, underscore at the last digit also include in the number in the database & email.
eg. +0179093930_
How can I remove this underscore when user submit the email.?
If I need to put javascript, what are the coding of the script.? and where to put this script.?
thanks!
I have set the data-inputmask in my field for mobile phone number.
Extra Params: data-inputmask='mask' : '+601999999999'
Max Length: 12
But in my country have two (2) type length of digits (11 digits & 12 digits)
if the user put 11 digits number, my input mask have underscore "_" at last of the digit.
but the problems when user submit the form, underscore at the last digit also include in the number in the database & email.
eg. +0179093930_
How can I remove this underscore when user submit the email.?
If I need to put javascript, what are the coding of the script.? and where to put this script.?
thanks!