Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Auto respond with multi page form

  1. #1
    Join Date
    Apr 2007
    Posts
    3

    Default Auto respond with multi page form

    I have a 3 page multi form set up and working (it delivers results using my html template to my email address). I am trying to add an auto responder to the last page of the form, to send a copy of the information provided to the end user along with the one it sends me.

    I've followed the autoresponder how to, but the auto response never arrives in the user's email inbox - and no error is sent to my email address. The results of the form arrive as usual, just no auto response is sent.

    In the multi page with fmbadhandler instructions, it says to use this field:
    Code:
    <input type="hidden" name="this_form" value="$this_form_url" />
    In the auto response how to, it says to include this field:
    Code:
    <input type="hidden" name="this_form" value="http://www.websiiteurl.com/jobs/app2/formpage3.html" />
    Do I include both, or is $this_form_url sufficient? I want to have a 3 page multi form, using fmbadhandler to show errors, if any, and then send the user an auto response with the summary of the entire 3 pages of the form.

    One other item I had a question about was if they enter the wrong captcha letters, it sends them to an error page - with no way to go back to the last page without losing the data they've entered on that page. If/when I finally get auto response working, and they enter the wrong captcha letters, and then subsequently hit the 'back' button...will the entire form (1st, 2nd, 3rd page) be lost?

    thank you for your time

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Auto respond with multi page form

    In the auto response how to, it says to include this field: [this_form]
    no it doesnt

    One other item I had a question about was if they enter the wrong captcha letters, it sends them to an error page - with no way to go back to the last page without losing the data they've entered on that page.
    the results have been emailed to u at that point - its just the autoresponse thats failed so it makes no sense to go back

    btw, i think this is a limitation in formmail - worth asking Russ about it.

  3. #3
    Join Date
    Sep 2011
    Posts
    18

    Default Re: Auto respond with multi page form

    Quote Originally Posted by crabtree View Post
    no it doesnt

    the results have been emailed to u at that point - its just the autoresponse thats failed so it makes no sense to go back

    btw, i think this is a limitation in formmail - worth asking Russ about it.
    Sorry to be bumping an old thread, but I happen to be having the exact same problem now. I have a multi-page form (for an order) and I want to to send a confirmation to the user when they complete the order.

    It is absolutely mandatory that they get the confirmation, because it has to contain information on how to pay for the services (bank transfer info). Ideally this would be displayed on the thank you page, as well as at the same time e-mailed to the buyer.

    I can't be just satisfied that the form emailed me their info, and leave the user to wonder whether or not it had been sent at all.

    Since this question was first asked 5 years ago without a resolution.... I'm hopeful that maybe this problem has been solved now? I'm using fm8.35 with reCaptcha?

    Anyone have any advice on perserving form information? I'm using the "multi_keep" hidden field but it doesn't seem to work with captcha?

    --
    to summarise:

    How do you prevent getting "Page expried" and losing all form info, at hitting the back button after you got the captcha letters wrong, in a multipage form?
    Last edited by teapot; 20-Jul-2012 at 10:23 PM.

  4. #4
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Auto respond with multi page form

    with email, u can never guarnatee anything 100%

    u must use fmbadhandler - it provides a back button that works

    if the user hits the back button in the browser toolbar, everything breaks. there's nothing u can do about that - it's the just the way browsers work

  5. #5
    Join Date
    Sep 2011
    Posts
    18

    Default Re: Auto respond with multi page form

    I am using fmbadhandler but there is no link back to the form?

    The link works fine on another single-page form I have.

    Wait, now I looked into it, I realised I didn't change the $TARGET_URLS in the fmbadhandler.php to fit the multipage form.

    But now I'm not sure what to change it to? Should it be the URL of the multipage form's last page template? (html file)?

    It confuses me because when I'm on that page the URL points to formmail.php....

  6. #6
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Auto respond with multi page form

    did u read the doco?
    http://www.tectite.com/fmdoc/target_urls.php

    it's a security thing. just put the URL to ur website and everything under that is acceptable

  7. #7
    Join Date
    Sep 2011
    Posts
    18

    Default Re: Auto respond with multi page form

    ah...

    ok I just made the url http://www.mysite.com

    but it still gives me no back button? This makes no sense... It works on the simple form, but not on the multiform??

  8. #8
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Auto respond with multi page form

    it should have a slash at the end for security

    so, ur first page must define "this_form" using a hidden field

    on ur second and other pages u need:
    HTML Code:
     <input type="hidden" name="this_form" value="$this_form_url" />
    (that's for the pages that follow)

    if ur still having problems post the url to ur form

  9. #9
    Join Date
    Sep 2011
    Posts
    18

    Default Re: Auto respond with multi page form

    Oh! It ...half-worked!

    Instead of $this_form_url, I had the actual URL, you totally figured that out. Now I've changed that I get the link. Howeverrr... when I click it it says:

    An error occurred while processing the form.

    The staff at (site) have been alerted to the error.
    (site) apologizes for any inconvenience this error may have caused.


    So there must be more that's wrong.

    I don't want to post the link to the form in public because I worry google will pick it up and show up in all the wrong search results...

    Can I PM it to you, if you have more patience with me?

    ---

    ps. just looked at the error email - it says

    Error=Cannot return to page 1. The top page index is <undefined>

  10. #10
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Auto respond with multi page form

    that error is a worry - might be session problems.

    yeah, PM me the link and include the URL to ur second page template so i can check that too

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Return All Variables To Form Page On Error
    By cornernote in forum FormMail Subscription Support
    Replies: 12
    Last Post: 31-Oct-2004, 09:20 PM
  2. Auto responder
    By russellr in forum HOWTO Guides and Tips
    Replies: 0
    Last Post: 04-Sep-2004, 10:38 PM
  3. Sample Auto Responder Form & Template
    By russellr in forum FormMail
    Replies: 0
    Last Post: 04-Sep-2004, 10:15 PM
  4. auto add feature
    By jamesh3 in forum FormMail Subscription Support
    Replies: 1
    Last Post: 17-Jun-2004, 06:44 AM
  5. Submitted form output onto HTML page?
    By LKimber in forum FormMail Subscription Support
    Replies: 2
    Last Post: 13-Apr-2004, 10:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •