Support » Plugin: Brilliant Web-to-Lead for Salesforce » Pass Form Email Field Parameter to Thank You Page

Viewing 1 replies (of 1 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    The return URL doesn’t support merging in form data, yet.

    There is a hook you can use: salesforce_w2l_returl

    So, you’d change your thanks URL to this:
    http://www.audantic.com/thanks?&email=%%email%%

    Then add this code to functions.php or a custom plugin:

    
    add_filter('salesforce_w2l_returl','salesforce_w2l_returl_customize_url');
    
    function salesforce_w2l_returl_customize_url( $returl ){
    
    $returl = str_replace( '%%email%%', $_POST['email'], $returl );
    
    return $returl;
    
    }
    
    • This reply was modified 1 year, 3 months ago by Nick Ciske.
Viewing 1 replies (of 1 total)
  • The topic ‘Pass Form Email Field Parameter to Thank You Page’ is closed to new replies.