There’s eForm3DB
http://modxcms.com/forums/index.php/topic,8111.0.html
This snippet has been around for quite a while, but for some reason hasn’t made it to the MODx Repository.
Hi BobRay,
Thanks for the tip. I’m working on it now and I hope it will work because I was quiete stuck with the solution I tried first
A MODx Fanatic
I’ve never used eForm2DB so I may not be much help.
Did you create the snippet? Are you sure the spelling in your snippet call matches the name of the snippet (it’s case-sensitive).
Paste your snippet call from the blank page into a reply here so we can look at it.
-
☆ A M B ☆
- 24,524 Posts
And your custom snippet has to be called before the eForm snippet call.
Hi guys,
I should point out that when I remove the [[eForm2db]] call, the form shows up just fine. I can give you access to the manager so you can view it first-hand if you want
Here are my snippet calls.
[[eForm2db]]
[!eForm? &noemail=`true` &formid=`ecrewquoteform` &eFormOnBeforeMailSent=`eForm2db` &tpl=`ecrew-quoteform2` &automessage=`ecrew-quotethankyou`!]
Thanks for your help.
A MODx Fanatic
You must have a syntax error in your eform2db code. Double check it for missing ; ) } and ". Also check for typos in the function name.
It looks as though this code is just a suggestion of how to do things. It would need to be customized for your needs. It assumes, for example, that you have a first_name and last_name field in your table and a datetime field. I also don’t see any place that’s selecting the DB table you want to modify. I guess that’s why it’s Version 0.1 Beta 1