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

Map multiple fields to the same custom field #57

Open
KilakwaBT opened this issue Oct 31, 2017 · 1 comment
Open

Map multiple fields to the same custom field #57

KilakwaBT opened this issue Oct 31, 2017 · 1 comment
Labels

Comments

@KilakwaBT
Copy link

KilakwaBT commented Oct 31, 2017

I have a form that has several conditional fields that are shown based on the selection from the previous field. The situation is that the user selects a region and location field that has the values for that region appears. The selection from the location field is then sent to the custom field in CiviCRM. Is it possible when mapping the fields in the processor to apply the field that is submitted? For example %location_1%, %location_2%, etc.).

I can get it to work by creating multiple processors and adding conditions on each processor. But in this situation there are too many possible scenarios.

Not sure this is possible but any thoughts would be great! Thanks

@mecachisenros
Copy link
Owner

It's not possible to have multiple fields for a single processor field at the moment. I think for what you are trying to achieve, you could solve it using a hidden field with the value of %location_1%, %location_2%, etc. and map the hidden field to the custom field, if that makes sense, that way whatever the value or values of the location field it will get passed to Civi.

It would be useful if you can put an export of the form here or a screenshot to understand better what is it exactly the use case, I'm not sure if I follow entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants