We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20014
    • 200 Posts
    strange have a client where eform after posts returns to start page instead of thankyou page, chrome safari konq and FF go to the correct page
    here is the call
    [!eForm? &formid=`ContactForm` &subject=`[+subject+]` &to=`[email protected]` &ccsender=`1` &tpl=`mailform` &report=`ContactFormReport` &invalidClass=`invalidValue` &requiredClass=`requiredValue` &cssStyle=`ContactStyles` &gotoid=`12` &linkID=`[~12~]` &vericode=`1` !]


    do you know what might cause this?

    the thank you page has a snippet which the host required for mail instead of setting up in eform’s code here it is:

    <?php
    $to = '[email protected]';
    $subject = 'subject';
    $message = 'From: ' . $_REQUEST['name'] . "\n\n" . $_REQUEST['data'];
    $email = $_REQUEST['email'];
    $headers = 'From: ' . $email . "\r\n" .
                'Reply-To: ' . $email . "\r\n" .
              'X-Mailer: PHP/' . phpversion();
     
    mail ($to, $subject, $message, $headers);
    header("Location:" . $linkID);
    ?>

    there is a long pause between post and the goto page dunno if that helps
      • 20014
      • 200 Posts
      dropped the gotoid and linkID and went with &thankyou, but in all IEversions I still get the home page instead of the thankyou page whereas in all other browsers it’s fine, I have checked the template and the thankyou page to see if there was code there that may provoke this, but I don’t see anything...has anyone run into this? In evo 1.0.2. it worked fine, but I just updated the client’s site and it is now behaving like this, other than that everything is fine. the new call is below:


      [!eForm? &formid=`ContactForm` &subject=`[+subject+]` &to=`[email protected]` &ccsender=`1` &tpl=`mailform` &report=`ContactFormReport` &invalidClass=`invalidValue` &requiredClass=`requiredValue` &cssStyle=`ContactStyles` &thankyou=`12` &vericode=`1` !]
        • 20014
        • 200 Posts
        ugggh! sorry guys, this is the second site I have deployed on 1&1, I forgot, the &linkID goes with the 1&1 code...BobRay had helped me with another site, (in case someone else runs into this) I set eform up as a basic form, set the goto id or thankyou id and then on the thankyou page set place a snippet containing the 1&1 code, and adding the &linkID as a parameter to THAT not the Eform snippet....sorry I had done it before, I guess I got lazy thinking I had it wired.