How to change the "name" parameter of an input field?
-
Perhaps stupid question, but how to change the “name” parameter of an input field?
When Ninjaforms makes a form input, it creates the name something like “ninja_forms_field_21″… for example:
<input id=”ninja_forms_field_21″ name=”ninja_forms_field_21″ type=”hidden” class=”ninja-forms-field ” value=”” rel=”21″ />
I have some scripts that depend on the name of certain form inputs being a custom value. So I need to change it to something like:
<input id=”ninja_forms_field_21″ name=”customName” type=”hidden” class=”ninja-forms-field ” value=”” rel=”21″ />
How to do it? I thought it was Admin Label under Restrictions, but it doesn’t seem to do anything. Thanks!
The topic ‘How to change the "name" parameter of an input field?’ is closed to new replies.