-
- 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
-
- 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.
-
- 572 Posts
thanks so much susan, that worked. Now i’ve got to change that on all my Modx sites.
Cheers
www.9thwave.co.uk
WEB | DESIGN | PRINT