Answers.Body: <p>Potentially you could also develop a new type of input in the Form Processor that deals with the comma separated list.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-02-01T07:45:56.833Z
Answers.LastActivityDate: 2021-02-01T07:45:56.833Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>I can't seem to make a custom field that allows multiple values work if more than one value is selected in Contact Form 7 via Form Processor. If one value is selected, everything works fine. If more than one value is selected, Form Processor fails and no contact is created.</p>
  <p>This error is logged: Notice: Undefined index: title in Civi\FormProcessor\Type\OptionGroupType-&gt;getConfigurationSpecification() (line 40 of /var/www/html/sites/default/civicrm/extensions/form-processor/Civi/FormProcessor/Type/OptionGroupType.php).</p>
  <p>Here is my <a href="https://wildsight.ca/newsletter-test/" rel="nofollow noreferrer">contact form</a> (it uses checkboxes). In Form Processor, I have a Custom Options input, with multiple selected and I have the same options set up there.</p>
  <p>If I use Try out in Form Processor, it works fine, so I wonder if Form Processor is expecting the data in a different form than Contact Form 7 is sending it in.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-01-30T21:45:54.150Z
Comments.Text: Yes, it looks like Contact Form 7 is sending a list like "A, B, C" and the API wants an array like ["A","B","C"]
Comments.UserDisplayName: Lars SG
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-01-30T21:53:42.260Z
Comments.Text: Issue on the plugin: https://wordpress.org/support/topic/api-call-includes-list-for-multi-select-or-checkboxes-api-expects-array/
Comments.UserDisplayName: Lars SG
Tags: <custom-fields><form-processor>
Title: Add custom field with multiple values to Contact Form 7 and Form Processor
ThreadText: # Add custom field with multiple values to Contact Form 7 and Form Processor
  
  (Asked by: username_0 on 2021-01-30)
  
  I can't seem to make a custom field that allows multiple values work if more than one value is selected in Contact Form 7 via Form Processor. If one value is selected, everything works fine. If more than one value is selected, Form Processor fails and no contact is created.
  
  This error is logged: Notice: Undefined index: title in Civi\FormProcessor\Type\OptionGroupType->getConfigurationSpecification() (line 40 of /var/www/html/sites/default/civicrm/extensions/form-processor/Civi/FormProcessor/Type/OptionGroupType.php).
  
  Here is my [contact form](https://wildsight.ca/newsletter-test/) (it uses checkboxes). In Form Processor, I have a Custom Options input, with multiple selected and I have the same options set up there.
  
  If I use Try out in Form Processor, it works fine, so I wonder if Form Processor is expecting the data in a different form than Contact Form 7 is sending it in.
  
  **Tags:** custom-fields, form-processor
  
  > **Comments:**
  > **username_0**: Yes, it looks like Contact Form 7 is sending a list like "A, B, C" and the API wants an array like ["A","B","C"]  
  > **username_0**: Issue on the plugin: https://wordpress.org/support/topic/api-call-includes-list-for-multi-select-or-checkboxes-api-expects-array/  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-02-01. Score: 0
  
  Potentially you could also develop a new type of input in the Form Processor that deals with the comma separated list.
  
  
  ---
  
  