Getting Started

What is Formcarry

Formcarry is a form processing service which allows you to handle forms on your apps, without a back-end code.

How Can I Use it?

Before we start, here’s what you’ll need:

1. Creating An HTML Form

To use Formcarry, you will need an HTML form.

Sample HTML Form will look like this:

<form action="#" method="POST">
	<label for="email">What is your Email Address?</label>
	<input type="email" name="email" id="email">
	<input type="submit" value=“Subscribe”>
</form>

action="#" part of your form defines where your form will process, usually developers fills it something like this:

<form action="http://mysite.com/form.php" method="POST">
	<label for="email">What is your Email Address?</label>
	<input type="email" name="email" id="email">
	<input type="submit" value=“Subscribe”>
</form>

This means, get all the data from inputs, and send it with POST method to the http://mysite.com/form.php, in this url process the form and do actions. To process your form you need to write back-end code (Scripting languages like Nodejs, PHP, Python, Ruby, or Perl), and this is what Formcarry saves you from.

You don't have to write back-end code to process your form with Formcarry, Everytime you created a form in Formcarry, we will provide you an unique endpoint url to process your form, it's basically set of back-end code for you to use, endpoint url will look like this:

https://formcarry.com/s/BywEPAJNb

2. Creating A Form in Formcarry

First sign up then go to My Forms page, click Add New then fill the fields as you need:

System will give you your unique endpoint url, copy it:

and paste it into your forms action attribute:

//this is sample endpoint
<form action="https://formcarry.com/s/BywEPAJNb" method="POST">
	<label for="email">What is your Email Address?</label>
	<input type="email" name="email" id="email">
	<input type="submit" value=“Subscribe”>
</form>

*Important Note: you have to define name attribute for every input, if you don't data of input can not be saved.

Now, you're ready to collect submissions, let's try it:

Now get into your form on Formcarry, click the submissions tab:

Tadaa! it's there 🎉, you also received an email, check out spam folder if nothing appears.

This is not the limits! with Formcarry you're able to do these things without single line of back-end code:

  • check_circle File Uploads
  • check_circle Google Recaptcha
  • check_circle Spam Prevention (Akismet)
  • check_circle Double Send Prevention
  • check_circle Webhooks
  • check_circle CSV Export
  • check_circle JSON Export
  • check_circle Zapier Integration
  • check_circle Autoresponse
  • check_circle Ajax Support

Do's and Dont's

1. Every input field must have name attribute

<input type="email" name="email" >
<input type="text" name="firstName">
<input type="text" name="lastName">
<input type="text" name="anotherInput">

2. You can't post JSON or Javascript Object, only Content-Type: form-data and x-www-form-urlencoded is supported, if you're just using html form you don't have to worry, but if you're posting fields via your own backend, you should set this.

3. If you need to upload files Content-Type should be x-www-form-urlencoded, if you're just using html form you don't have to worry, but if you're posting fields via your own backend, you should set this.

4. If you want to get response message as JSON, you must set HTTP Accept header to application/json