# Prevent Webflow Form Submission Default Behaviour

**URL:** <https://forum.finsweet.com/t/prevent-webflow-form-submission-default-behaviour/2238>\
**Category:** General\
**Created:** [December 5, 2023, 5:26pm UTC](https://forum.finsweet.com/t/prevent-webflow-form-submission-default-behaviour/2238 "2023-12-05T17:26:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darshil](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/darshil/32/630_2.png) [@Darshil](https://forum.finsweet.com/u/Darshil)\
**Post date:** [December 5, 2023, 5:26pm UTC](https://forum.finsweet.com/t/prevent-webflow-form-submission-default-behaviour/2238/1 "2023-12-05T17:26:48Z")

</div>

How can I reset the webflow form and prevent the default? I’m aware that I can use Fs attributes for this. But-- I’m doing a bit of custom coding.

Context: I’m sending form data to a custom API endpoint based upon some logic.

What specific code I need to write?

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [December 6, 2023, 11:44am UTC](https://forum.finsweet.com/t/prevent-webflow-form-submission-default-behaviour/2238/2 "2023-12-06T11:44:52Z")

</div>

hey @Darshil! You should be able to mix Attributes with Custom code without any issues. Do you have a link to where the form is built? What have you tried so far?
