Use checkbox to create a pricing calculator on a Webflow form

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Demo Example

$
0
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Code

<script>
document.addEventListener('DOMContentLoaded', function () {
  	console.log("Hello Finsweet")
  }
})
</script>
!
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.