Forums

Return page after submitting a contact form

workoutman 30 Sep, 2009
Hi!

After I send a form via the front end of my site, http://www.infinitesolutionsonline.com I am left at a blank page, and the image flash I have also displays a loading screen and doesn't load any images. Is there a way to return the message sender to a confirmation page?

Also, any ideas as to why the image flash doesn't load after the message is sent?

Thanks!!

Ty
GreyHead 30 Sep, 2009
Hi Ty,

The blank page is normal - you can add HTML+PHP to either of the OnSubmit boxes to show a message there; or you can redirect the user to any page you choose with the ReDirect URL.

I think the flash fails because you have two versions of MooTools loading on that page. FireBug shows two JavaScript errors

n76uiipsn.js (line 901):
HistoryManager.history is null
[Break on this error] if(frag!=HistoryManager.fragment){Histor...story[ii].getFragment()==frag){break;}}\

engine_c...mpress.js (line 1)
Fx.Opacity is not a constructor
[Break on this error] eval(function(p,a,c,k,e,r){e=function(c)..._tbo|toRight|href|250'.split('|'),0,{}))


Bob

PS There's also an uncommented line showing at the top of the page background
/* ********* drop down menu Java script code - start **********/
workoutman 03 Oct, 2009
Hi Bob!

Thanks for the reply! I was able to set up the confirmation pages! 🙂

As for the 2 javascript errors, what would you recommend I do to correct those errors?🙂

Thanks!

Ty
GreyHead 04 Oct, 2009
Hi Ty,

Hard to say, the first step would be to get rid of one of the two copies of MooTools. After that it's into FireBug to debug the script errors and see what is causing them.

Bob
udaydahale 01 Jan, 2010
Sir,
I am having an issue.
After submitting my form it should be redirct to a new page but the page content must be changed (or it must be based on)which option we will select through drop down box in the form.

regards,
Uday
This topic is locked and no more replies can be posted.