XML for Multiple Options of an Multiselect Pick List
Trying to get the XML right using the API.
The XML code itself is:
- <?xml version="1.0" encoding="utf-8"?>
- <Contacts>
- <row no="1">
- <FL val="First Name">'.$firstName.'</FL>
- <FL val="Last Name">'.$lastName.'</FL>
- <FL val="Account Name">'.$organization.'</FL>
- <FL val="Email">'.$email.'</FL>
- <FL val="Mailing Street">'.$address.'</FL>
- <FL val="Mailing City">'.$city.'</FL>
- <FL val="Mailing State">'.$state.'</FL>
- <FL val="Mailing Code">'.$code.'</FL>
- <FL val="Mailing Country">'.$country.'</FL>
- <FL val="Persona">'.$persona.'</FL>
- <FL val="Description">'.$altPersona.'</FL>
- <FL val="Use Case">'.$useCase.'</FL>
- </row>
- </Contacts>'
The Use Case value can have multiple values as it corresponds to a Multiselect Pick List in the contacts.
The raw input from the form comes in as comma separted values, for instance:
Interactive whiteboard, Lecturing in a classroom
If that is put in the XML it doesn't map properly.
What would be the proper syntax to select both of those options?