Memberstack
Pricing
API
Login
Build for free
Memberstack
Pricing
API
Login
Build for free
Memberstack
Pricing
API
Login
Build for free
Blog/How to Programmatically Refresh the Page on Your Webflow Site

How to Programmatically Refresh the Page on Your Webflow Site

This post will teach you how to programmatically refresh pages in your Webflow site, when to trigger page reloads, and how to implement them effectively in your projects.

Ovidiu·Contributor
|
February 23, 2025·2 min read

How to programmatically refresh the page on your Webflow site

Other use-cases using Memberscript #15

https://www.memberstack.com/blog/how-to-refresh-the-page-after-a-form-is-filled-out

Memberscripts needed

https://www.memberstack.com/scripts/refresh-page-after-set-duration-on-click

Tutorial

Cloneable

__wf_reserved_inherit

Why/Use Cases –

- Updating page content if a refresh is required.

- Clearing form fields once a form has been submitted.

- Providing users with feedback that their action has succeeded.

Programmatically refreshing a page in Webflow

This guide will help you easily trigger a page refresh if your use case requires it to advance users’ flows on your website.

To programmatically refresh a page on your Webflow site, we’re going to use MemberScript #15 – Refresh Page After Set Duration on Click. Follow the link to get the code you’ll need to add to your page and watch a video tutorial on how to set everything up.

Setting it up

This is a super quick and easy one – all you need to do is add the following attribute to the element that triggers the page refresh when interacted with:

· ms-code-refresh=”500”

The value’s in milliseconds and you can set it to whatever you feel is right for you.

Making it work

Now that you’ve got everything set up in Webflow, all you need to do is add the MemberScript #15 custom code to your page, before the closing body tag.

Conclusion

That’s everything, you can now go ahead and test the refresh on your live site.

If you want to use our demo project to get you started, just click the button below to add it to your Webflow site.

Our demo can help you programmatically refresh pages on Webflow sites.

Take me to Cloneable!‍

Written by

Ovidiu

Contributor

Contents

  • Other use-cases using Memberscript #15
  • Memberscripts needed
  • Tutorial
  • Cloneable
  • Why/Use Cases –
  • Programmatically refreshing a page in Webflow
  • Setting it up
  • Making it work
  • Conclusion
  • Take me to Cloneable!‍

Share

Explore Memberstack

  • All Features
  • Customer Showcase
  • Templates
  • Find Experts
  • Pricing
  • Help Center

Product

  • Full Feature List
  • User Accounts
  • Gated Content
  • Secure Payments
  • API & Integrations
  • Data Tables
  • Memberstack & Webflow
  • Memberstack & Claude Code
  • Memberstack & WordPress
  • Create a new account
  • 2.0 Log in
  • 1.0 Log in
  • Pricing

Learn about Memberstack

  • Showcase
  • Testimonials
  • Why Memberstack
  • Memberstack vs Outseta
  • Memberstack vs Memberspace
  • Memberstack vs Webflow Memberships

Company

  • About
  • Careers
  • Changelog
  • Partnerships(email)
  • Contact Us(email)
  • X
  • LinkedIn
  • "Do Not Sell My Data" Promise

Resources

  • Vibe Coding
  • Templates
  • Components
  • MemberScripts
  • Data Attributes
  • Find Experts
  • Hiring Guide
  • Webflow Slack Community
  • WordPress Slack Community
  • Support Forum
  • Help Center
  • Blog
  • llms.txt (for AI)
  • llms-full.txt (for AI)
AICPA
SOC

SOC 2 TYPE 1

CERTIFIED

GDPR

COMPLIANT

CCPA

COMPLIANT

Privacy PolicyTerms of ServiceCookie PolicySecurity Policy

© Memberstack Inc. 2018 - 2025. All rights reserved.

Memberstack - The no-code membership platform for any website | Product Hunt