Title: passing $_POST data to cforms
Last modified: August 30, 2016

---

# passing $_POST data to cforms

 *  Resolved [RSimpson](https://wordpress.org/support/users/rsimpson/)
 * (@rsimpson)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/passing-_post-data-to-cforms/)
 * Hi there,
 * Is there a function available where I can pass $_POST data to cforms? I’d like
   to handle part of the data using my own function, then pass it all to cforms 
   to handle as normal. Specifically, I’m asking those who’re submitting the form
   if they’d like to join my mailing list, and if yes, handle the mailing list subscription
   then submit the data via cforms.
 * Cheers,
    Robert
 * [https://wordpress.org/plugins/cforms2/](https://wordpress.org/plugins/cforms2/)

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

 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/passing-_post-data-to-cforms/#post-6694345)
 * You can send arbitrary POST data to the addresses that the forms post to. I do
   not think, it is a good idea, but you can try. I would recommend using the defined
   API to call your own function before procesing the form.
 *  Thread Starter [RSimpson](https://wordpress.org/support/users/rsimpson/)
 * (@rsimpson)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/passing-_post-data-to-cforms/#post-6694346)
 * Do you have documentation for the API? Is there a hook I can use to process part
   of the data before cforms handles it?
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/passing-_post-data-to-cforms/#post-6694359)
 * See my-functions.php.txt and the plugin help pages.

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

The topic ‘passing $_POST data to cforms’ is closed to new replies.

 * ![](https://ps.w.org/cforms2/assets/icon-128x128.png?rev=1010031)
 * [cformsII](https://wordpress.org/plugins/cforms2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cforms2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cforms2/)
 * [Active Topics](https://wordpress.org/support/plugin/cforms2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cforms2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cforms2/reviews/)

## Tags

 * [$_POST](https://wordpress.org/support/topic-tag/_post/)

 * 3 replies
 * 2 participants
 * Last reply from: [bgermann](https://wordpress.org/support/users/bgermann/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/passing-_post-data-to-cforms/#post-6694359)
 * Status: resolved