I have a contact form on the homepage that on my form action I get a 404 error because where im saying $Page its seeing Page as "/" rather than the actual URL segment.
The form works fine on every other page because it has the URL segment in the URL.
I have block widgets with a custom block builder I use. So my home page has many blocks so the form is within BlockWidgetBanner hense why the action goes out of the row to the page. Page is read as "/" rather than "home".
<form action="{$PageBlockRow.Page.Link}sendForm">
<input type="text" name="name" placeholder="Your name" required>
<input type="text" name="email" placeholder="Your email" required>
<input type="text" name="number" placeholder="Your phone number" required>
<input type="hidden" name="formID" value="$ID">
<input type="submit" value="Submit" class="btn button">
</form>