We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32046
    • 75 Posts
    Day one on Modx and it is outstanding. But I’m stuck with and eEorm and $_POST problem.

    I have a contact page, with postal address details etc followed further down the page by the contact form. However, if the form has been submitted with errors I want to re-display the page, but this time with the contact form at the top followed by postal address etc below it.

    So my question is: Is there a variable/flag I can check which tells me whether or not the form has been submitted? I tried checking the $_POST var but eForm seems to set $_POST fields before any submission takes place.

      • 32046
      • 75 Posts
      Okay, found the problem, damn snippet was [[cached]], changed to to [!uncached!] and its all good. Thats a trap for beginners.... embarrassed