-
- 23 Posts
I tried with an empty prefix as well, but get the same message. Is the Prefix required?
-
- 24,544 Posts
Quote from: vishalashah at Apr 04, 2011, 07:26 PM
I tried with an empty prefix as well, but get the same message. Is the Prefix required?
I’m not sure if it’s required, but you should really have one to distinguish your table(s) from the MODX tables with the modx_ prefix. The _modx prefix is assumed if there’s no prefix.
-
- 23 Posts
Thanks a ton! My issue is resolved.
- I created a table with a prefix: dcvsborg_members
- Deleted all folders created for the schema under core/components
- Tried to submit data and it worked.
-
- 24,544 Posts
I’m glad you got it working. Thanks for reporting back.
-
- 5 Posts
Hello,
I am a newbe at this, I am experimenting with this snippet. Overall it works verry nice, thanks Bruno good job.
vishalashah, maybe trie it without redirect, I noticed that it doesn’t work with properly with it. Maybe that’s the case.
Does someone know how to delte an entry with this method?
-
- 23 Posts
Thanks Vivalarevo.
The issue was that the MySql column names did not match the case with my calls from the snippet. After I matched the cases, it worked fine.
Another thing, I would mention is, that FormIt latest version has changed support for validation calls from inline to the snippet call. The inline support will be valid only till Formit 2.0.
-
- 5 Posts
Thank you for your reply.
So you did get it working with "redirect", when I trie it then it stays on the page same page. Do you aor someone else have an idea what the the problem could be. If take out the form2db hook it does redirect.
-
- 23 Posts
It has to be one of your templates that you are redirecting to e.g for sending emails. I do have an ongoing issue with redirect on one page (which I’m trying to figure out), however, a redirect on another page works fine.