Jump to content

HTML form submission results in blank page

Recommended Posts

Hi everyone,

I've inserted the following HTML code block into my section: 

<html>
<form action="https://getform.io/f/061fe877-cd4b-4e98-9f70-f5fb2eeb3716" method="POST" enctype="multipart/form-data" style="background-color:#005019">
  <h3 align="center" style="border:white; border-width:5px; border-style:solid"><b>Submit your application here:</b></h3> 
 <table>
    <tr>
      <td align="right"><b>First Name:</b></td>
      <td align="left"><input type="text" name="First Name:" required > </td>
    </tr>
    <tr>
      <td align="right"><b>Last Name:</b></td>
      <td align="left"><input type="text" name="Last Name:" required > </td>
    </tr>
    <tr>
      <td align="right"><b>Phone Number:</b></td>
      <td align="left"><input type="tel" name="Phone Number:" required ></td>
    </tr>
    <tr>
      <td align="right"><b>Email Address:</b></td>
      <td align="left"><input type="email" name="Email Address:" required ></td>
    </tr>
  </table>
  <p align="center">   <input type="file" name="files[]" multiple required> </p>
 <p align="center"> <button type="submit"><b>Submit</b> </button> </p>
</form>
</html>

Which generates the following form:

404174173_ScreenShot2022-03-30at12_36_12AM.thumb.png.8c1a3bfa604a5eff11bac5ca195a5a9a.png

Upon filling out the form and clicking submit, I receive an email with the submitted information -- however, the website page that the form is submitted on just goes blank, when it should be redirecting to the following URL: https://getform.io/thank-you. It seemingly also gets stuck on that blank page because when I refresh it, it still remains blank. Instead of redirecting, I think it would be nice if the form would just display something like 'thank you, your submission has been received'.

Unfortunately, I'm uninformed when it comes to anything related to coding and basically pieced the above HTML together using Google search results.

Any help is greatly appreciated, thank you!

Edited by JJL
Link to comment
  • Replies 0
  • Views 523
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.