We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33337
    • 3,975 Posts
    Hi,

    I am using eForm call and a Thankyou page, both are 2 separate documents but instead of redirecting to thank you page, its displaying the document content inline, something like this is happening:


    Contact Form Page Heading

    {{Contact Form}}


    after clicking submit button:

    Contact Form Page Heading

    Thank you Page Heading

    Thank you message.

    MODx 096 final
    PHP 5.1.6
    Server API Apache

    Any clues? I tried with [[...]] [!...!] and page cache/un-cache combinations but no luck.

    regards.
      Zaigham R - MODX Professional | Skype | Email | Twitter

      Digging the interwebs for #MODX gems and bringing it to you. modx.link
      • 30223
      • 1,010 Posts
      What’s the snippet call you’re using? Are you using the &thankyou=`(id)` or &goto=`(id)` parameter? They work quite differently.

      &thankyou will display content inline. It works with chunks, snippets or indeed a document (extracting the document content). The advantage is here that you can use eform placeholders to display any of the form values.

      &gotoid simply redirects/forwards to the document given. This is what you expected yes? The disadvantage is that there is no access to any form values.
        • 33337
        • 3,975 Posts
        ah... Thanks for explaining it TobyL smiley I didn’t know the actual difference between them.

        best regards.
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link