Title: Non-array output
Last modified: August 22, 2016

---

# Non-array output

 *  Resolved [carlos99](https://wordpress.org/support/users/carlos99/)
 * (@carlos99)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/non-array-output/)
 * Hi,
    I have a CRM system I’m trying to integrate with (workbooks). It requires
   the POST data to be in the format of:
 * fieldname=1&fieldname2=x&fieldname3=y etc….. Effectively just one long string
   of field names and values.
 * Do you have any idea how to have the POST data be outputted in this way, rather
   than in the current array format?
 * many thanks
 * [https://wordpress.org/plugins/forms-3rdparty-integration/](https://wordpress.org/plugins/forms-3rdparty-integration/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [zaus](https://wordpress.org/support/users/zaus/)
 * (@zaus)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/non-array-output/#post-5725216)
 * I think you might just be confused by their documentation? That is what a POST
   looks like in raw form, at least `x-www-form-urlencoded`, which I think is what
   WordPress uses, as opposed to form-data…
 * Failing that, you could modify how Xpost processes and add an extra format “url”
   like ‘json’ at lines:
    * [https://github.com/zaus/forms-3rdparty-xpost/blob/master/forms-3rdparty-xpost.php#L86](https://github.com/zaus/forms-3rdparty-xpost/blob/master/forms-3rdparty-xpost.php#L86)*
   [https://github.com/zaus/forms-3rdparty-xpost/blob/master/forms-3rdparty-xpost.php#L194](https://github.com/zaus/forms-3rdparty-xpost/blob/master/forms-3rdparty-xpost.php#L194)
 * which can just set `$args['body']=http_build_query($args['body'])`, like the 
   JSON handling does.
 * You could just write the hook directly — use `add_filter('Forms3rdPartyIntegration_service_filter_args','
   myurl_post_args_fn', 12, 3);` and make the above change.
 *  Plugin Author [zaus](https://wordpress.org/support/users/zaus/)
 * (@zaus)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/non-array-output/#post-5725217)
 * Referenced: [https://github.com/zaus/forms-3rdparty-xpost/issues/6](https://github.com/zaus/forms-3rdparty-xpost/issues/6)
 *  Thread Starter [carlos99](https://wordpress.org/support/users/carlos99/)
 * (@carlos99)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/non-array-output/#post-5725226)
 * Thank you very much. I’ll look into it now.
 *  Plugin Author [zaus](https://wordpress.org/support/users/zaus/)
 * (@zaus)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/non-array-output/#post-5725385)
 * I just tested it (and pushed the option with v0.5, just in case) and it doesn’t
   seem to be any different than how it regularly posts it “form-style”.
 * [@carlos99](https://wordpress.org/support/users/carlos99/) did you ever get anywhere
   with this? I’m marking this as resolved otherwise.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Non-array output’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/forms-3rdparty-integration.svg)
 * [Forms: 3rd-Party Integration](https://wordpress.org/plugins/forms-3rdparty-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forms-3rdparty-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forms-3rdparty-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/forms-3rdparty-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forms-3rdparty-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forms-3rdparty-integration/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [zaus](https://wordpress.org/support/users/zaus/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/non-array-output/#post-5725385)
 * Status: resolved