Jump to content

Form Post-Submit Redirect page does a double refresh

Go to solution Solved by paul2009,

Recommended Posts

Posted

I have a form that on submit redirects to another page on my site. But a few seconds after the rendering of the page it refreshes again. Does anyone know why I'm getting this kind of behaviour?

My form is in a lightbox and is connected to a Google Spreadsheet for storage.

This code is not live yet, it's only on a trial site, scheduled to launch in the next couple weeks.

Posted
On 7/3/2022 at 11:07 AM, KPWebDesign said:

Thanks for suggesting that.

https://rca-rosemont.squarespace.com/membership

Password: MattPres

And click either form button (Rosemont Member or Associate Member), fill out the form and when it submits the page redirect loads but then a second later it reloads.

Can you provide House Number & Street, City, Postal

I tried enter some on my country & it always say error

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • Solution
Posted
On 6/30/2022 at 5:16 AM, KPWebDesign said:

I have a form that on submit redirects to another page on my site. But a few seconds after the rendering of the page it refreshes again. Does anyone know why I'm getting this kind of behaviour?

You'll see this type of behaviour when you are logged in to your site. It is because you are previewing your site in a frame and the redirect will cause this behaviour.

Visitors to the site will not experience this issue.

Was this post helpful? Please give feedback by clicking an icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted
17 hours ago, paul2009 said:

You'll see this type of behaviour when you are logged in to your site. It is because you are previewing your site in a frame and the redirect will cause this behaviour.

Visitors to the site will not experience this issue.

Was this post helpful? Please give feedback by clicking an icon below  ⬇️

Thanks so much! I really appreciate the guidance!

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.