We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46835
    • 11 Posts
    I have the following problem: I have a register form showing up in the sidebar all the time if someone isn't logged in. I also have a contact form with FormIt and a search with SimpleSearch. If I try to search something everything's fine except of the fact that the register form gives me the result that no fields are filled out even if I didn't click on the register button. I just wanted to search. The same thing happens on the contact form with FormIt and vice versa.

    What can I do about it?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You need to make sure that each of the forms have different "name" attributes for their submit buttons. Most form snippets have a property to either set the name of the input, or a prefix to identify the form.
        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