• Resolved DiverseAbilities

    (@diverseabilities)


    This might be a stupid question. For this plugin to work do all form fields need to be mapped?

    I was going to use this plugin to add e-mail, name and dob from a contact form to our dotmailer e-mail database.

    I’m not getting an error back here is the debug code:

    *** Service ***
    Array
    (
        [name] => dotmailer
        [url] => http://dmtrk.com/signup.ashx
        [forms] => Array
            (
                [0] => gf_5
            )
    
        [success] =>
        [failure] =>
        [timeout] => 60
        [mapping] => Array
            (
                [0] => Array
                    (
                        [lbl] => Addressbook
                        [src] => [input_9]
                        [3rd] => addressbookid
                    )
    
                [1] => Array
                    (
                        [lbl] => User ID
                        [src] => [input_8]
                        [3rd] => userid
                    )
    
                [2] => Array
                    (
                        [lbl] => Email
                        [src] => [input_3]
                        [3rd] => Email
                    )
    
                [3] => Array
                    (
                        [lbl] => First name
                        [src] => [input_4]
                        [3rd] => cd_FIRSTNAME
                    )
    
                [4] => Array
                    (
                        [lbl] => Last Name
                        [src] => [input_5]
                        [3rd] => cd_LASTNAME
                    )
    
                [5] => Array
                    (
                        [lbl] => Submit
                        [src] => [gform_submit]
                        [3rd] => Submit
                    )
    
            )
    
        [separator] =>
    )
    
    *** Post (Form) ***
    http://www.diverseabilities.org.uk/signup/
    Array
    (
        [input_9] => 4361974
        [input_8] => 51265
        [input_3] => test456@gmail.com
        [input_4] => Test
        [input_5] => Subject
        [input_14_1] =>
        [input_14_2] =>
        [input_14_3] =>
        [input_14_4] =>
        [input_14_5] =>
        [input_14_6] =>
        [input_16] => Array
            (
                [0] =>
                [1] =>
                [2] =>
            )
    
        [input_17] =>
        [is_submit_5] => 1
        [gform_submit] => 5
        [gform_unique_id] =>
        [state_5] => WyJbXSIsIjg0NjU0ZGIzZGJlMDBjNWU1MDI1NmI3NDY4MzMyMmI1Il0=
        [gform_target_page_number_5] => 0
        [gform_source_page_number_5] => 1
        [gform_field_values] =>
    )
    
    *** Post (to Service) ***
    Array
    (
        [timeout] => 60
        [body] => Array
            (
            )
    
    )
    
    *** Response ***
    Array
    (
        [headers] => Array
            (
                [cache-control] => private
                [date] => Tue, 24 Mar 2015 10:20:34 GMT
                [connection] => close
                [content-length] => 0
            )
    
        [body] =>
        [response] => Array
            (
                [code] => 200
                [message] => OK
            )
    
        [cookies] => Array
            (
            )
    
        [filename] =>
    )

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author zaus

    (@zaus)

    You don’t have to map everything.

    But, you’ve put brackets around the src fields — e.g. [input_4] rather than input_4. I can see why you did it, but that’s just how array keys are printed in php.

    Thread Starter DiverseAbilities

    (@diverseabilities)

    Thanks a lot for the response!

    Works now, amazing plugin.

    Plugin Author zaus

    (@zaus)

    Glad it worked out! Thanks for the love.

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

The topic ‘Do all fields need to be mapped?’ is closed to new replies.