First of all, thank you for this very useful module. I am using SugarCE6.x and Webform2Sugar: 6.x-4.0-beta2

I would like to map to Sugar

1) a select box (Lead Source)
2) a multi-select field to a variable in sugar

Is there any tutorial that could help me ? I only understand that I have to add an entry in webform2sugar_fields.inc but I don't understand the key pairs things in the Drupal form. Which codification must I use to have the correct entry on the Sugar side

Comments

cpotter’s picture

For the 'select', I found the answer, the key pair must be :

"Existing Customer|Existing Customer"

I have been confused because Drupal was requesting underscore use for key pairs

But I still need help for the multi-select part

Thanks in advance

rurri’s picture

The multi-select should be exactly like the single select. The only difference is you allow more than one value. So it should be exactly the same way.
Existing Customer|Existing Customer
Another Customer|Existing Another

Although if you change to version 5, you can use anything you want as the key.. such as:

1|Existing Customer
2|Another Customer

rurri’s picture

Status: Active » Closed (fixed)

No reply in 4 weeks, assuming the above information worked.