Show a custom success message in a Webflow Form when using a url redirect within your site

Set a cookie with your custom message to display a succes message on another page within you site with the input selected by the user. Note: for this hack to properly work you'll need to redirect the user within your site and add the needed code on the success page. You can find this code in our success page.

Hack Name:
hacks_2

Demo Example

Code

!
We can not copy-paste TypeScript into Webflow. TypeScript must be compiled to JavaScript. For copy-paste into Webflow, choose JavaScript.
What is TypeScript? 🡭
<script>
document.addEventListener('DOMContentLoaded',
	function () {    
  	const WAIT_TIME = 4500;
  }
})
</script>
!
Copy-paste this script into your Webflow project body.