The code snippet below can help you modify the text that appears within or related to a form on your landing page. It allows you to change the following:
The "Processing..." message that appears upon form submission when there is no Thank You message set.
Various form errors for invalid inputs.
The months of the year within a Dropdown field.
The days of the week in a Date field.
The words "Cancel" and "Apply" should be present on the form.
Open JavaScript from the right-side menu in your page builder, then paste this code inside the Footer:
You can paste the code in any of the sections (Header, Body, or Footer), but since this affects form submit, we recommend placing it in the Body or Footer Section, in order to prioritize page loading order correctly.
You can change the text to be in any language of your choosing.
Non-Latin characters will break the code, so swap all non-Latin characters with HTML entities like:
¡ change to ¡
& change to &
" change to "
You can find a full list of HTML entities in this article: https://d.pr/l7ibLh.
You can use this code in order to remove the "Processing..." message completely.
To do that, put a space between the single quotes instead of translating the message, like this:
Translating the -Select one- text from the dropdown fields into another language
In case you need help with a custom functionality or any code customization that is not provided through our Help Center articles, we have a Professional Services team that can help our Convert users. The Convert plan includes Professional Services as well as additional features and services that can be seen here: https://instapage.com/enterprise-solution