Post Multiselect Values From Webform

  • 0
  • 1
  • Question
  • Updated 11 months ago
  • In Progress
I'm trying to post multiselect values from a webform to Quickbase and it only posts the last value selected from the form. I tried changing the QB field type to multiple options, but not having luck. 
Photo of Quincy Adam

Quincy Adam

  • 268 Points 250 badge 2x thumb

Posted 11 months ago

  • 0
  • 1
Photo of Matthew Neil

Matthew Neil

  • 31,438 Points 20k badge 2x thumb
How is the data formatted coming from the webform?

Option 1;Option2;Etc

Option1, Option 2, Etc

Option 1,
Option 2,
Etc

Could be how the API is interpreting the data.
Photo of Quincy Adam

Quincy Adam

  • 268 Points 250 badge 2x thumb
Hi Matthew, it's posting arguments through a php POST using the Wordpress Ninja Form plugin. I'm not sure if I'll be able to modify the plugin to post differently, but I might be able to map differently. The _fid_7 field is a multselect field. Looks something like:

([_fid_6] => ValueFromTextField
[_fid_7] => Array ( [0] => AF [1] => SQ [2] => AR ))

I can use Zapier to map it, but it's not great since Zapier forces you to enter each option manually and everything runs together in the call without any separators (will look like AFSQAR). I have another post where I figured out eliminating Zapier, but I just realized multiselect fields don't work. Any thoughts?
(Edited)