WordPress.org

Ready to get started?Download WordPress

Forums

Forms: 3rd-Party Integration
[resolved] Gravity forms submissions fields (4 posts)

  1. rhartland
    Member
    Posted 8 months ago #

    Hi,

    I cannot seem to get anything outputting when submitting a form. I am using version 1.4.5 of your plugin with Gravity Forms, and am a bit of a coding noob, particularly with php.

    I have tried pointing the submission url to the servicetest.php page, but get the following when I submit the form:
    --- POST ---
    Array
    (
    )

    --- GET ---
    Array
    (
    )

    --- META ---
    Array
    (
    [REQUEST_METHOD] => GET
    [QUERY_STRING] =>
    [HTTP_HOST] => www.*********.***.**
    [HTTP_REFERER] =>
    [HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:25.0) Gecko/20100101 Firefox/25.0
    )

    --- HEADERS ---

    <b>Fatal error</b>: Call to undefined function getallheaders() in <b>*************/wp-content/plugins/forms-3rdparty-integration/3rd-parties/service_test.php</b> on line <b>25</b>

    I blanked out some of the urls for privacy.

    This may be a silly question, but when mapping the gravity forms fields to the output fields, do I use the gf field label, or the gf field id, and if the id, do I just put the number in?

    Hope someone can help point me in the right direction.

    Cheers,
    Richard

    http://wordpress.org/plugins/forms-3rdparty-integration/

  2. zaus
    Member
    Plugin Author

    Posted 8 months ago #

    Hi,

    First, I just submitted a fix for the getallheaders error you're getting from the service test url.

    But if you turn on 'debug mode' and put your email in the appropriate global setting, you should get full details of the service request, including the exact form fields being posted by GF in the *** Post (Form) *** section, which you can use to determine your mappings.

    To map to GF fields, it should be the html 'name' property of each field, which in my version of GF follows input_1, input_2 etc; you can get the number from the "Field ID" shown in the GF admin page for each field.

  3. zaus
    Member
    Plugin Author

    Posted 8 months ago #

    You may also consider the answer on this other post regarding multi-input fields: http://wordpress.org/support/topic/gf-name-and-address-fields-not-mapping

  4. zaus
    Member
    Plugin Author

    Posted 8 months ago #

    Please reopen if not resolved.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.