zaus / forms-3rdparty-integration

Wordpress Plugin - Forms 3rdparty Integration - a plugin to help integrate 3rdparty services with common WP Forms plugins like Contact Form 7 and Gravity Forms
http://wordpress.org/plugins/forms-3rdparty-integration/
47 stars 14 forks source link

Option to map to field name rather than id #35

Closed zaus closed 8 years ago

zaus commented 9 years ago

See forum discussion https://wordpress.org/support/topic/ninja-forms-fileds?replies=3#post-6434717

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? @patrickvh3

Maybe as an extension? Alternate setting? Would involve plugin-specific matching.

zaus commented 9 years ago

Sorta similar to #22 .

From my forum reply to original post:

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.

zaus commented 8 years ago

Functionality added in referenced commit