We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    I have a document called spformproc that receives _POST information from another page. It’s based on the default template for the site and just contains the following:
    Errors in form submission.
    [!SPFormProc!] 


    It’s reached through this line in a snippet in another document:

    <form action="spformproc" method="post">


    The SPFormProc snippet sends the user on to another page (this works fine) unless there are errors. If there are errors, it simply echoes the error messages.

    The problem is that the error message screen is just a blank white page with nothing on it but the error messages. Looking at the source, there’s literally nothing there but the error messages from the echo statements. "Errors in form submission" doesn’t appear on the error page, just the output of the snippet.

    I’ve looked at the MODx database and the spformproc document does have the right template assigned and all the other fields look normal. The problem occurs no matter what template I assign to spformproc.

    I can’t figure out why it’s not rendering the template. I’m sure this is something dumb that will be obvious to others.

    Bob
      Did I help you? Buy me a beer
      Get my Book: MODX:The Official Guide
      MODX info for everyone: http://bobsguides.com/modx.html
      My MODX Extras
      Bob's Guides is now hosted at A2 MODX Hosting