Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to map to field name rather than id #35

Closed
zaus opened this issue Jan 14, 2015 · 2 comments
Closed

Option to map to field name rather than id #35

zaus opened this issue Jan 14, 2015 · 2 comments
Labels

Comments

@zaus
Copy link
Owner

@zaus zaus commented Jan 14, 2015

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 zaus added the enhancement label Jan 14, 2015
@zaus

This comment has been minimized.

Copy link
Owner Author

@zaus zaus commented Jan 14, 2015

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

This comment has been minimized.

Copy link
Owner Author

@zaus zaus commented Nov 19, 2015

Functionality added in referenced commit

@zaus zaus closed this Nov 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.