change field id between two languages
-
Good Morning I have 2 identical forms for my website.
A form on the Italian homepage and a form on the English homepage.
They are identical only the language changes.
Now the problem is that all 2 forms have the same IDs.
Example:
Form Italian: {name-1} – {email-1} – {phone-1} … etc …
Form English: {name-1} – {email-1} – {phone-1} … etc …
Now the problem it’s that for Inspection Chrome Browesr and when i make Web Audit thay say that it’s a critical error:Example:
[DOM] Found 2 elements with non-unique id #forminator-field-email-1: (More info: https://goo.gl/9p2vKq) <input type=?”email” name=?”email-1″ value placeholder=?”Email:?” id=?”forminator-field-email-1″ class=?”forminator-input forminator-email–field” data-required=?”true” aria-required=?”true”>? <input type=?”email” name=?”email-1″ value placeholder=?”Email:?” id=?”forminator-field-email-1″ class=?”forminator-input forminator-email–field” data-required=?”true” aria-required=?”true”>?
This message error it’s for all my fields of the form.
So ho w i can fix it?, it will be possibile to give to each field a different ID?
So example for: Form Italian: {name-1} – {email-1} – {phone-1} … etc …
for: Form English: {name-1-eng} – {email-1-eng} – {phone-1-eng} … etc …Thanks
DavideThe page I need help with: [log in to see the link]
- The topic ‘change field id between two languages’ is closed to new replies.