So I created a form with Wordpress and exported it with Simply Static.
I have managed to be able to receive submissions, but after clicking Submit, the user is not redirected to success page.
I read the Forms Docs, and I understood that the user should be redirected to a success page by default.
Here is the page: https://montserratespallargas.netlify.app/
Here is the form code:
<form name="Formulari" method="post" class="wpcf7-form init" aria-label="Contact form" data-netlify="true">
<div style="display: none;">
<input type="hidden" name="_wpcf7" value="1588">
<input type="hidden" name="_wpcf7_version" value="6.0.2">
<input type="hidden" name="_wpcf7_locale" value="en_US">
<input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f1588-p375-o1">
<input type="hidden" name="_wpcf7_container_post" value="375">
<input type="hidden" name="_wpcf7_posted_data_hash" value="">
</div>
<p><span class="wpcf7-form-control-wrap" data-name="your-name"><input size="40" maxlength="400" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" autocomplete="name" aria-required="true" aria-invalid="false" placeholder="Nom" value="" type="text" name="your-name"></span>
</p>
<p><span class="wpcf7-form-control-wrap" data-name="your-email"><input size="40" maxlength="400" class="wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email" autocomplete="email" aria-required="true" aria-invalid="false" placeholder="Correu electrònic" value="" type="email" name="your-email"></span>
</p>
<p><span class="wpcf7-form-control-wrap" data-name="your-number"><input size="40" maxlength="400" class="wpcf7-form-control wpcf7-tel wpcf7-text wpcf7-validates-as-tel" autocomplete="tel" aria-invalid="false" placeholder="Telèfon" value="" type="tel" name="your-number"></span>
</p>
<p><span class="wpcf7-form-control-wrap" data-name="your-message"><textarea cols="40" rows="5" maxlength="2000" class="wpcf7-form-control wpcf7-textarea wpcf7-validates-as-required" aria-required="true" aria-invalid="false" placeholder="Missatge" name="your-message"></textarea></span>
</p>
<p><input class="wpcf7-form-control wpcf7-submit has-spinner" type="submit" value="Enviar">
</p>
<div class="wpcf7-response-output" aria-hidden="true"></div>
</form>