tags:

views:

84

answers:

1

I have a bit of a problem i am trying to sort out.

I have 2-step form

page 1 (mandatory): fill in your personal details
page 2 (optional): complete your inventory

At the moment the form sends 2 emails to the recipient, 1 after the first page is completed, and one if the second page is completed. The second email is identical to the first except it has the inventory included below the personal details and the subject line states "quote request (email 2 of 2)".

Now I am trying to think of a way that I can delay the sending of the first email and only send it if the second step is aborted/abandoned.

This sounds like quite a common problem, anyone have any simple solutions? The best I could come up with is this:

1) Step 1 is completed and email is not sent instead a database boolean "sent" set to false along with a timestamp 2) the user is given 15 minutes to fill in the second form, if it is not completed in that time a cronjob will detect it and email the personal user details without the inventory and set the database bool "sent" to true

If the user takes longer than 15 minutes then I guess the email will have to sent again, so it's not a failproof way of preventing duplicate emails..

any suggestions?

A: 

I asked if it was necessary to have a 2 page form. If so, even if the information on the 2nd page is optional, with a good design you can give the user the idea that to complete what they are doing they would have to "submit" their information.

If laid out properly, they would understand that the information is optional, but they must complete the entire 2-page process to have their information processed properly.

jaywon
thanks, I think Im going to go with your suggestion, both steps need to be "completed" even ig step 2 is "skipped", then I can fire up a cron job to catch those that didn't complete the second step for whatever reason
bananarepub
the 2 step thing is coming from the top, unfortunately the site goes live next week, so I no more changes can be made on the usability front...
bananarepub