I have a controller that works fine on sub pages, but the same code does not work on the home page. I called the controller home.php is this correct?
Ah I had to add a slash (/) after the page url in my form action:
<form id="estimateForm" name="estimateForm" action="<?= $page->url() ?>/" method="POST">