It works when you just fill in the number in the mapping.
Like ninja_forms_field_8 > u_name =just 8
The thing I would like to know if this field id can be overriden with a name, so that if you would like to add multiple forms to a service, all with let’s say a phonenumber (who get different id’s). That you can fill in something like ‘phone’ at those fields, and that you can use the value ‘phone’ in the mapping so it picks up all the forms at once.
Anyone suggestions on this?
Plugin Author
zaus
(@zaus)
@patrickvh3 I’m getting the form submission (for Ninja Forms) using $form->get_all_fields(), which just returns an array of fieldid => value.
See source https://github.com/zaus/forms-3rdparty-integration/blob/master/plugins/ninjaforms.php#L60
You could hook to ..._get_submission (see source and here) with a later priority and remap by matching up the ids from the $submission and the $form fields.