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

    I have a form working but the following line of code appears before teh closing </form> tag when i view the sites source code:

    <input type="hidden" name="formid" value="feedbackForm" />

    It’s preventing the page from validating and i can’t for the life of me figure out how it’s being generated as it doesn’t appear in my actual form chunk.

    Anyone any ideas?

    Cheers

    J
      www.9thwave.co.uk
         WEB | DESIGN | PRINT
      • 18374
      • 69 Posts
      Are you using eForm? I believe it’s being inserted by the snippet call so eForm knows which form to handle.

      The code you copied looks perfectly valid, though. What validation error are you getting?
      • Interesting. It puts that immediately before the closing </form> tags, so because it’s not in a fieldset it doesn’t validate.

        If you put it in your chunk yourself, then eForm doesn’t add it. So you can put it near the top, inside the fieldset, and the validator is happy.
          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
          • 36549
          • 572 Posts
          thanks so much susan, that worked. Now i’ve got to change that on all my Modx sites.

          Cheers wink
            www.9thwave.co.uk
               WEB | DESIGN | PRINT