We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    In the case of demos like these, viewing the source of each page is necessary.

    View the first page, when the form is first loaded. No error messages, no success messages, just the form. So your resource needs to be like that, just the form... and, of course, the FormIt snippet call, which doesn't do anything on the initial page load in this case since there's no POST (a FormIt pre-hook will do things on this page, before the form is submitted, that's why it's called a pre-hook).

    When the form is submitted, then when the page is re-loaded FormIt does stuff with the POST, according to the properties it's given. Such as inserting error messages or the success message.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
    • discuss.answer
      • 37859
      • 34 Posts
      Sorry for the late reply, but was busy the last month.
      Got it working now !
      Many thanks to you all.