Form does not work with slider

My form does not work in site, i has such message “If this is your site, and you weren’t expecting a 404 for this path, please visit Netlify’s “page not found” support guide for troubleshooting tips.” As i have understood the issue is slider-swiper in my code, if delete it - form works, but i need it both. Can you help me?

There’s a submit function on your for, I’d start by removing that:


If you could share the source code of the form, that could help as well.

  <div class="footer__blocks">
    <h3 class="footer__title">Leave Your Email</h3>
    <form class="footer__form" name="contact" method="POST" data-netlify="true" onSubmit="submit">
      <input class="footer__input" type="email" name="email" id="email" placeholder="Enter Your Email">
      <button class="footer__btn" type="submit"></button>
<a class="button-top" href="#header"><img src="image/arrow-up.svg" alt=""></a>
comented script make form broken, but i need it.

Hi @Oksana-anaskO,

Reviewing the deploy log, the form isn’t being detected. You would see in the post-processing section of the log:

Processing form - contact
Detected form fields:
 - email

Could you go over our Support Guide here:

This will help you debug the issue.

Let us know if you have any questions.