I know this may be a simple fix but I just want to know what to put in my action or method attributes in my form to get this. I gave up on trying to get my custom page issues resolved and just want this simple fix done asap. Please help if possible.
this is my current code… I know I have to get rid of mail.php so you can ignore that, but is there anything I need to put instead?
I should also mention the form submits successfully its just the success message I’m having issues with
<!-- Start Contact Form Box -->
<div class="contact-form-box">
<form id="contact-form" class="default-form contact-form" action="mail.php" method="post" data-netlify="true">
<div class="row mb-n6">
<div class="col-xl-6 mb-6">
<div class="default-form-group">
<input name="name" type="text" placeholder="Name" required>
</div>
</div>
<div class="col-xl-6 mb-6">
<div class="default-form-group">
<input name="email" type="email" placeholder="Email" required>
</div>
</div>
<div class="col-xl-6 mb-6">
<div class="default-form-group">
<input name="phone" type="tel" placeholder="Phone" required>
</div>
</div>
<div class="col-xl-6 mb-6">
<div class="default-form-group">
<input name="subject" type="text" placeholder="Subject" required>
</div>
</div>
<div class="col-xl-12 mb-6">
<div class="default-form-group">
<textarea name="message" placeholder="Comment" required></textarea>
</div>
</div>
<div class="col-12 mb-6">
<div class="default-form-group tex-center">
<button type="submit" class="btn btn-lg btn-outline-one">Submit Message</button>
</div>
</div>
<p class="form-messege"></p>
</div>
</form>
</div>
<!-- End Contact Form Box -->```