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

Thread: How do you configure a Thank You page for mail sent successfully?

  1. #1
    Join Date
    Jan 2008
    Posts
    29

    Default How do you configure a Thank You page for mail sent successfully?

    Hello:

    This is my first post after configuring FormMail. I have the error page working completely on my site's html template, except for the return url, back to the contact form (contact.html). This is the only feature for which the guides I found were inadequate, and it explains why so many are having this problem.
    Can you guys direct me to a full and clear explanation on how to do it?

    Regarding the Thank You page, I finally got it working thanks to Terry Allen's guide. It has the proper code to add in the form page to connect to a mail sent/thankyou page. I was surprised that's all it took.

    <input type="hidden" name="good_url" value="http://testing.com/goodsub.html" />

    Thanks
    Last edited by Jeremy; 08-Jan-2008 at 04:50 PM.

  2. #2
    Join Date
    Feb 2007
    Posts
    82

    Default Re: How do you configure a Thank You page for mail sent successfully?

    I use a template to tell the user thankyou, and to give them a chance to print the information they just input on the form. If your form doesn't intake that much info, you might not need the template.
    <input type="hidden" name="good_template" value="feedbackefile2.htm" />

    you can try my form if you want it is not in production yet

    http://www.nmprc.state.nm.us/efilingnew2.htm

    you can view the source code if you like it. It is just a table with the same structure as the form.
    right now I am working on getting the autorespond to work...it was working yesterday and now today...no...
    Last edited by kdeguero; 08-Jan-2008 at 06:00 PM.

  3. #3
    Join Date
    Jan 2008
    Posts
    29

    Default Re: How do you configure a Thank You page for mail sent successfully?

    I tried your form. You may want to check the image refresh button, as it didn't work for me. It's something I'd like to add to my form if you do get it working.

    By using...

    <input type="hidden" name="good_template" value="feedbackefile2.htm" />

    is it enought to add that in the form page, just like using good_url, or does it need anything else elsewhere?

    Also, do you have return link working on your error page?
    Last edited by Jeremy; 08-Jan-2008 at 06:23 PM.

  4. #4
    Join Date
    Feb 2007
    Posts
    82

    Default Re: How do you configure a Thank You page for mail sent successfully?

    I know the image refresh does not work in FF...I do not know, I read else where from Russel that thier new sample autorespond form is FF compatible, but not for me...yet that is...I am working on it.

    re the template, you have to create the template and put it in your template folder. (there is a good sample template in downloads) or read http://www.tectite.com/vbforums/showthread.php?t=104
    then that code in the form tells the form to direct the results to the feedback template

    on the return link...no...have never gotten it to work though I have read everything on the site about it......
    Last edited by kdeguero; 08-Jan-2008 at 06:47 PM.

  5. #5
    Join Date
    Jan 2008
    Posts
    29

    Default Re: How do you configure a Thank You page for mail sent successfully?

    I'll start a new thread about return link.

  6. #6
    Join Date
    Feb 2007
    Posts
    82

    Default Re: How do you configure a Thank You page for mail sent successfully?

    ok, cool, I started one as well, but no one has responded, maybe if enough of us....

    I also fixed the image renew button...it also works in FF...not sure how I did, but you are welcome to copy the code in my page

  7. #7
    Join Date
    Jan 2008
    Posts
    29

    Default Re: How do you configure a Thank You page for mail sent successfully?

    Hey, it does work. I just tried it. But why did you place a limit on the number of reloads?
    If you can, would you please post everything one needs to do in order to add image refresh? I'm sure many members will brobably like to have it also. I know I do; I'd like to give it a try when I get back tonight.

    Thanks!
    Last edited by Jeremy; 08-Jan-2008 at 08:08 PM.

  8. #8
    Join Date
    Feb 2007
    Posts
    82

    Default Re: How do you configure a Thank You page for mail sent successfully?

    first download the image verification software
    http://www.tectite.com/vbforums/showthread.php?t=1208
    and follow the instructions to make sure it works on your server (I had to call ours and ask them to install the GD module)

    if it works, download the autorespond form and configure it for your server

    http://www.tectite.com/vbforums/showthread.php?t=231

    be sure to read all the how to guides...

    http://www.tectite.com/fmhowto/stopbots.php

    once you get the sample to work, you can copy and paste the parts you need into your form....and....you can always refer to mine....I know that if I have a working example, I can usually get mine to work as well

  9. #9
    Join Date
    Jan 2008
    Posts
    29

    Default Re: How do you configure a Thank You page for mail sent successfully?

    Actually, I'm just very interested in how to add the image refresher. The additional features are nice, but I don't really need them.

    Thanks

  10. #10
    Join Date
    Feb 2007
    Posts
    82

    Default Re: How do you configure a Thank You page for mail sent successfully?

    this script goes above your form

    <script language="javascript" type="text/javascript">
    var nReload = 5;
    function NewVerifyImage()
    {
    if (nReload <= 4)
    if (nReload <= 0)
    {
    alert("Sorry, too many reloads.");
    return;
    }
    else
    alert("Only " + nReload + " more reloads are allowed");
    nReload--;
    //
    // This code now works in both IE and FireFox
    //
    var e_img;
    e_img = document.getElementById("vimg");
    if (e_img)
    //
    // FireFox attempts to "optimize" by not reloading
    // the image if the URL value doesn't actually change.
    // So, we make it change by adding a different
    // count parameter for each reload.
    //
    e_img.setAttribute("src",e_img.src+'?count='+nReload);
    }
    // -->
    </script>
    the function in the script is called in the underlined code below to refresh the image...but it all has to work together with the autorespond, the image file and the submit button, that's why I suggest you get the sample to work and then incorporate it into your form....well anyway that's what works for me

    <tr>
    <td width="47%" valign="top">To submit this form and have a confirmation
    emailed to you, <strong>you
    are required</strong>
    to enter the characters you see in the image: <a href="samplearwhy.htm" target="_blank">Why?</a></td>
    <td width="53%"><img src="verifyimg.php" alt="Image verification" name="vimg" id="vimg" /> &nbsp; &nbsp; &nbsp;
    <input type="text" size="12" name="arverify" />
    &nbsp;</td>
    </tr>
    <tr>
    <td colspan="2">
    <hr />
    <p>If you cannot read the image, click for a new one&nbsp;
    <button onClick="NewVerifyImage(); return false;">
    New image
    </button></p>
    </td>
    </tr>
    <tr>
    <td colspan="2"><div align="center">
    <hr /> <input name="submit " type="submit" value="Submit NMPRC E-file" />
    <a href="<A href="http://www.nmprc.state.nm.us/efilingnew2.htm">Reset">http://www.nmprc.state.nm.us/efilingnew2.htm">Reset Form</a>
    </div></td>
    </tr>

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 09-Nov-2007, 06:10 PM
  2. single page works fine, multi-page not working
    By amystephenson in forum FormMail Subscription Support
    Replies: 6
    Last Post: 28-Sep-2007, 11:38 AM
  3. Form mail mail failed
    By kgray32 in forum Community Support
    Replies: 3
    Last Post: 14-May-2007, 11:39 PM
  4. Creating mail object using Mail::factory ("smtp", ....) and FormMail
    By stingray in forum FormMail Subscription Support
    Replies: 1
    Last Post: 13-Jul-2004, 10:27 PM
  5. configure recipient email fileds
    By Luke in forum FormMail Subscription Support
    Replies: 1
    Last Post: 02-Apr-2004, 09:49 PM

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
  •