Hoping someone can help.. We have a hidden field in the form above which we use to pass a value into using Google Tag Manager.
We’ve found that the ID of the field, currently hidden-1_6399e189c77ff seems to keep changing.
And so the script that we use in tag manager stops working but it can’t find the ID it is looking for.
A week or so ago, the hidden field had an ID of hidden-1_6374c690a49a7
I can’t figure out why it would keep changing.. Any thoughts?
]]>Currently, a field has an HTML ID similar to this:
forminator-field-street_address-address-1_6360f5ab28e00
The part after the “_”, i.e. 1_6360f5ab28e00, changes every time that the form is refreshed. This makes it impossible to reference that particular field from elsewhere (I am trying to point a Google Maps Address plugin to this field).
]]>Pods field id: 3754
Pods field Name: project_video_one
CSS: div#video { display:none; }
Let me know if you can help! Thanks.
]]>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
Davide
The Form Id and Field Id are appending _1 in the frontend. When we look at the backend and the db, the form id and field id are as generated by Ninjaforms without _1 appended to it.
So for example, the form id is 28. In the front end on page inspect it shows as nf-form-28_1.
A field id is 384, it shows as nf-form-384_1.
Please note that this is not happening with all forms or fields. Seem to be random behaviour which I am not able to figure out.
thanks
]]>I can type in the Field ID field and save my custom values, and the text that I entered is still there in the text box when I reload the page, but that doesn’t change the actual field ID (see the snippet of source code below). This is evident both in the custom field group source code (see the snippet below) and in the shortcode given on the custom template where I’m using this field group.
<div class="wp-cpt-field-row field-form" id="field_j32nvx">
<div class="field-form-sx">
<label>Field name <input type="text" name="field_settings[fields][field_j32nvx][name]" placeholder="Field name" value="Name">
</label>
</div>
<div class="field-form-dx">
<label>Field id <input type="text" name="field_settings[fields][field_j32nvx][id]" placeholder="Field id" value="website">
]]>I am trying to get the integration working to sendinblue, but I would like to know how I can change the field default labels, as name-1, name-2 , textarea-1 are sooooo terrible descriptors.
This is possible directly in the form builder in Hustle btw. All I want is a way to have the same functionality here…
Best,
Dragos