shanehicks
Member
Fields like phone numbers should be more than text input fields. Store them as integers but have it format on the front end similar to how Hubspot now has you enter phone numbers. Field validation can be a simple fix by implementing something like International Telephone Input (shows flag dropdown to any "Tel" input and displays relevant placeholder) and/or jSuites (uses data-mask attribute to fields to mask inputs. For example:
for an amount)
Example from Hubspot:
HTML:
<input type="number" data-mask="$ ##0.00">
Example from Hubspot: