JSFiddle - React, Tailwind, and code Playground
by Josh Pullen
HTML
<!-- Make sure you don't change the form action-->
<form action="https://api.staticforms.xyz/submit" method="post">
<!-- Replace with accesKey sent to your email -->
<input type="hidden" name="accessKey" value="b03d52dd-0508-458d-a27f-457386b681f9"> <!-- Required -->
<input type="text" name="name"> <!-- Optional -->
<input type="text" name="subject"> <!-- Optional -->
<input type="text" name="email"> <!-- Optional -->
<input type="text" name="phone"> <!-- Optional -->
<textarea name="message"></textarea> <!-- Optional -->
<!-- If you want replyTo to be set to specific email -->
<input type="text" name="replyTo" value="[email protected]"> <!-- Optional -->
<!-- Specify @ as reply to value if you want it to be customers email -->
<input type="hidden" name="replyTo" value="@"> <!-- Optional -->
<!-- If you want form to redirect to a specific url after submission -->
<input type="hidden" name="redirectTo" value="https://example.com/contact/success"> <!-- Optional -->
<input type="submit" value="Submit" />
</form>