Requirements

Here’s what you’ll need before you start creating your form endpoint:

  • A Getform account
  • An HTML Form
  • A Form created on Getform

<form action="https://getform.io/f/{your-endpoint}" method="POST">

    <input type="text" name="name">
    <input type="email" name="email">
    <input type="text" name="tel">
    <input type="file" name="file">
    <button type="submit">Send</button>

</form>

HTML Form

To start using Getform, you need an HTML form and the sample HTML form looks like this:

<form action="#" method="POST">

    <label for="name"> What is your name?</label>
    <input type="text" name="name">
    <label for="email"> What is your email address?</label>
    <input type="email" name="email">
    <button type="submit">Send</button>

</form>

action="#" part of your form defines where your forms will post the form data to. This means, get all the data from my form coming from the fields defined, and send it with POST method to the the URL process the form and do the actions.

But to process your form, you normally need to write the form backend (on the programming languages like Nodejs, PHP, Java, Python, Ruby or Perl) and that’s where Getform comes in saves you from.

With Getform, all you need is to get your unique form endpoint URL for the forms you create, and this unique URL will control your form backend and let you process your forms. The endpoint URL you generate on Getform will look like this:

https://getform.io/f/579fb0d6-8050-4946-97ed-8fe839bbd5e0