-
1. Re: Insert Into DB & Sendmail
Dan Bracuk Feb 15, 2011 11:17 AM (in response to OgreOne)Your exisitng code might be more complicated than necessary with all those cflocations you pointed out. It's possible to insert your record, send mail, and display feedback all on one page.
-
2. Re: Insert Into DB & Sendmail
OgreOne Feb 15, 2011 11:30 AM (in response to Dan Bracuk)Cool. Though I want to avoid rewriting t all the pages for now. i will
look into this matter later on down the road. So, it it possible to have 4
different redistration pages and at the end submit everything to both email
and DB? I am trying to avoid having one HUGE form on one page.
See URLs:
http://urbanswimandfitness.com/register.cfm
http://urbanswimandfitness.com/regStep2.cfm
-
3. Re: Insert Into DB & Sendmail
Dan Bracuk Feb 15, 2011 12:04 PM (in response to OgreOne)You could store all your form variables as session variables as you go along. One thing you'll have to decide is whether to validate the submitted values after each submission, or at the end. Personally, I'd do it after each page submission, but then again, I'd probably have one big form rather than 4 little ones.
-
4. Re: Insert Into DB & Sendmail
OgreOne Feb 15, 2011 12:51 PM (in response to Dan Bracuk)Intriguing. I will see if my client would be willing to do a long form. I
can shorten it with jquery tips. What are the steps to combine both DB
insertion and formmail into one page?
BTW, if I do this, I will want to submit to two seperate DBs.
Thanks in advance.

