Multipage form database and email verification

dbrody 24 Feb, 2012
So we have two problems with our multipage form. We have a 2 page multiform.

First, it appears as if info is saved to the database twice. Only the mother page a db connection. It looks like data is saved right after each page is submitted, is that normal?

Second, we have both the multipage and email verification setup on the mother page. The multipage plugin is set to run before the email verification plugin. Neither of the two other pages have any plugin enabled. When the first page is submitted, the second page pops up, but at the bottom of the page it looks like the email verification plugin has run since the message for the plugin is there.
GreyHead 24 Feb, 2012
Hi dbrody ,

It's a long time since I worked with multi-page forms in CFv3. There are long threads here talking about them if you go back far enough. I think that the simple answer here is to put both the DB Connection and the Email verification on the last step form not on the mother form.

Bob
dbrody 24 Feb, 2012
Getting closer on this one and fixed a lot of problems by moving the email verification to the last page and keeping the database save on the mother form. Still have one problem --

First, the email verification on the last page does send an email; however the "chronoformname" is the name of the mother form, when I think it should be the name of the last page. (i.e. (http://www.xxxx.com/index.php?option=com_chronocontact&chronoformname=SamplePackRequest2_master&task=beforeshow&uid=IMTRiNDA2YWU3OWVld531e85e5594140dc343548832869bdc). The last page also seems to ignore the fact that there is an email verification and it sends the results email anyway.
GreyHead 25 Feb, 2012
Hi dbrody,

Sorry, without reconstructing your form and testing from scratch I can't tell what is happening. I do recall that the email verification plug-in was always a bit problematic. You might get a working solution faster by re-coding this part by hand???

Bob
This topic is locked and no more replies can be posted.