Getting error using browser suggestion (autocomplete) on Telephone form field

forms

#1

Hi, I'm using an embed form but it throws an error when I click on submit If I previously select an option from the browser suggestions for the telephone field or after this field is validated.

Uncaught Error: Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.
    at r (VM1321 v2.js:4)
    at Object.processUpdates (VM1321 v2.js:1)
    at Object.dangerouslyProcessChildrenUpdates [as processChildrenUpdates] (VM1321 v2.js:2)
    at s (VM1321 v2.js:3)
    at a.updateChildren (VM1321 v2.js:3)
    at a._updateDOMChildren (VM1321 v2.js:2)
    at a.updateComponent (VM1321 v2.js:2)
    at a.receiveComponent (VM1321 v2.js:2)
    at Object.receiveComponent (VM1321 v2.js:3)
    at p._updateRenderedComponent (VM1321 v2.js:2)

This error makes that the submit button doesn't work any more.

Any Ideas?

Thanks!


#2

Hi @luismontes,

Can you send me a link to the page in question so I can do some testing?


#3

Hi @Derek_Gervais I found the problem, it was a Javascript function to add custom validations over phone fields, but it seems like this causes the error, so I updated the functions to fix this.
Thanks!