"numbersOutOfRange" is wrong value to changing Phone Error Message
We have been trying to get a translation to work where instead of "
The number you entered is not in range.,
Shows instead;
"Please enter a phone number that's at least 7 numbers long."
The value given to us on this hubspot thread: says that we should use the value numbersOutOfRange to translate the copy but that value doesnt seem to work. The full script we have is as follows:
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script> <script> hbspt.forms.create({ portalId: "5988104", formId: "a0a2a594-e18f-42cc-bea3-7fc924afaf96", locale: "en", translations: { en: { phoneInvalidCharacters: "Please enter a phone number that's at least 7 numbers long.", numbersOutOfRange:"test", } }
}); </script>
The phone invalid characters is working but the numbersoutofrange is not. Does anyone know of any other values that would work in this situation? It's supposed to show this error if they put any value less than 7 characters.
"numbersOutOfRange" is wrong value to changing Phone Error Message
Hey thanks but I think we are just trying to get the "numbersOutOfRange" translation to work. Currently with this fix, its still showing the default text instead of "test"