We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12379
    • 460 Posts
    On the various installations I’ve done of MODx I’ve never been able to get the template chunk for &thankyou to display - I’m always sent to the homepage instead (and I don’t want to set up a goto page for the thank you). I’m using MODx 1.01 and eForm 1.4.4.6...


    [!eForm? &formid=`ContactForm` &subject=`[+subject+]` &to=`[email protected]` &tpl=`contact_form_tpl` &report=`contact_form_report_tpl` &gotoid=`1` &thankyou=`contact_thankyou_tpl`!]
    


    contact_thankyou_tpl:
    <p>Thanks for contacting us - we'll be in touch shortly regarding your enquiry.</p>


    Has anyone else experienced this?
      Mostly harmless.
      • 29076
      • 615 Posts
      Your &gotoid=`1` tell eForm to got to doc id=1 after sending. I guess it overrides the &thankyou parameter. Try to remove the &gotoid=`1` from your snippet call.

        I think, thererfor I am! But what I am, and why...?
        • 12379
        • 460 Posts
        Doh! Thanks. Better get some sleep...
          Mostly harmless.