Forums

Form on Page Refresh

DawnB 28 Oct, 2011
I'm using chronoforms on this one page site:

http://tableforonetherapy.com/index.php

The issue I seem to be having, is that if someone just "refreshes" the page, after submission, it seems to cause the form to "hiccup". Now this could be a setting that I can change in the form, but not sure how or what I should do to fix this.

Any thoughts would be greatly appreciated!!! Thank you!!!

Dawn
GreyHead 28 Oct, 2011
Hi Dawn,

What exactly do you mean by 'hiccup'?

Bob
DawnB 28 Oct, 2011
I just mean that if you refresh the page, it tosses a js error in the email spot and takes issue with the captcha not being filled in. Didn't know if there was a way to rest the form so it doesn't think the form is being completed again.

Didn't know if there was a work around.

Thx

Dawn
GreyHead 31 Oct, 2011
Hi Dawn,

I'm not sure, you could probably save a 'marker' in the User session when the form is completed and then check for that when the form loads and show a message in place of the form if the marker is found.

Bob
DawnB 31 Oct, 2011
I'm sorry, I have no idea how to do that - is that difficult or do you know how I would do that?

Thanks,
Dawn
DawnB 03 Dec, 2011
I'm sorry, but I still have not resolve the issue that I have on refresh. I have a form on the home page and if the page is "refreshed" it causes form problems because the form is actually on the home page - any help would be appreciated.

Thanks so much!

Dawn
GreyHead 05 Dec, 2011
Hi Dawn,

The JavaScript error is because you have the Joomla! Email Cloaking Plug-in enabled and it is trying to cloak the sample e-mail in the ChronoForms validation message. Disable the plug-in temporarily to check this is the problem. If you need the plug-in change the plug-ins order so that Email Cloaking runs before ChronoForms.

NB These are Joomla! plug-ins that you manage from Site Admin | Extensions | Plug-in Manager


The only fix I can think of for form re-displaying on refesh is the same as I posted before. Add an entry in the User session (or a cookie) and when the form is displayed check for the entry. If it's there then don't display the form - just show a little message.

Bob
DawnB 05 Dec, 2011
Thank you for the post - can you tell me how I would do this:

The only fix I can think of for form re-displaying on refesh is the same as I posted before. Add an entry in the User session (or a cookie) and when the form is displayed check for the entry. If it's there then don't display the form - just show a little message.



Thank you.
Dawn
This topic is locked and no more replies can be posted.