Appnitro Software Forums » MachForm 2

Hooking Form to Get Response Account (I am close) --*;)


  1. Ok, I have an extensive enrollment form and I want 2 specific fields to populate into a Get Response Account.

    My Name Field is: 'element_30_1'
    My Email Foeld is: 'element_46'

    Here is what I have done.

    I have followed the HttpClient procedure as outlined here:
    http://www.appnitro.com/forums/topic/aweber-integration?replies=7

    My original Form that works is here:

    <div id="subscribe">
              <div><form action="http://www.getresponse.com/cgi-bin/add.cgi" method="post" accept-charset="UTF-8">
    	            <input style="" name="subscriber_email" value="ENTER EMAIL ADDRESS" onfocus="this.value=''" id="subscribe-input" type="text" />
    	            <input name="commit" value="SignUp" id="subscribe-button" type="submit" />
    <input type="hidden" name="error_url" id="error_url" value=""/><input type="hidden" name="confirmation_url" id="confirmation_url" value="http://www.valdezwrestling.com"/><input type="hidden" name="campaign_name" id="campaign_name" value="website_email_submit"/><input type="hidden" name="custom_ref" id="custom_ref" value=""/></form><script type="text/javascript">var el=document.getElementById("custom_http_referer");if(el != null){el.value = document.location};</script>
    	            </div>

    My Edited My includes/post-functions.php :

    //****HERE IS THE GET RESPONSE BLOCK*********************************************************

    if($form_id == 3){
    $target_url = 'http://www.getresponse.com/cgi-bin/add.cgi';

    $target_data['name'] = $table_data['element_30_1'];
    $target_data['from'] = $table_data['element_46'];
    $target_data['meta_web_form_id'] = 'website_email_submit';
    $target_data['meta_split_id'] = '';
    $target_data['unit'] = 'abunzaelite';
    $target_data['redirect'] = 'http://www.valdezwrestling.com/index.php?/valdez/packages/';
    $target_data['meta_redirect_onlist'] = 'http://www.valdezwrestling.com/index.php?/valdez/packages/';
    $target_data['meta_adtracking'] = 'capture';
    $target_data['meta_message'] = '1';
    $target_data['meta_required'] = 'from';
    $target_data['meta_forward_vars'] = '0';
    $target_data['submit'] = 'Submit';

    require 'lib/HttpClient.class.php';

    HttpClient::quickPost($target_url, $target_data);

    }

    I am Close?? Still not working...

    Thanks for your time and expertise...your form app is fantastic!

    Kindly,
    matt

    Posted 2 years ago #
  2. Did you get any error message? Also, make sure you have the correct form id number.

    If the problem persist, contact us directly and let us know your FTP login info.
    We'll help you check it.


    MachForm Founder

    Posted 2 years ago #

RSS feed for this topic

Reply