Hey Bobby, I’ve implemented a simple form using your datafire Repo.
Azek Gaviota Yo
1

Hi Azek — glad you got it set up!

You have two options here:

  1. Use an AJAX request to submit the form, some details here. That will keep the user on the page, and you can display a success/error message once the submission is done.
  2. Send back HTML from the DataFire endpoint. You can put this at the bottom of your action:
return new datafire.Response({
statusCode: 200,
headers: {'Content-Type': 'text/html'},
body: "<h1>Success</h1>",
});