Hi! I’m doing another forms to page contact. You can look it in this link: https://www.lemonbr.com/copia-contato
I used wix code to put various forms in a 1 page and they are shown when a specific radio button is actioned.
I want that the input telefone number will be validated and the numbers digited will be showed with parenthesis and points without the user needs digiting them (a mask caractere). I want the same thing with the inputs CNPJ and CEP. How can I should do this? I’m not a programmer, but I understand somethings…
Can anyone help me?
Hi,
In order to create a validation you should set your input element type to “Phone Number” and use the settings panel to set a validation pattern.
In order to automatically change the user input to something different you can try adding an onBlur event and write your own code to make the number appear.