Form2Channel Docs


Basic Form setup

  1. Add this form tag
    <form action="" method="POST">
  2. Add hidden tags for form recipients (see example form) like
    <input type="hidden" name="formto_googlesheets" value="me@email.address">

    <input type="hidden" name="formto_email" value="me@email.address">
  3. Upload the page to your server
    Localhost is not allowed

For submissions to Google Sheets or Email no further setup is necessary

Adding multiple forms

When adding multiple forms to one website include a form identifyer in the form action querystring like

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

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

Adding multiple recipients

Comma-separate multiple recipients for a channel

<input type="hidden" name="formto_email" value="me@email.address, me2@email.address">

<input type="hidden" name="formto_googlesheets" value="me@email.address, me2@email.address">

Thank you and error pages

By default the process redirects visitors to the website default page with the result in the querystring like

result={"Message":"Form submitted","Success":true}

You can add the hidden field below into your form to redirect visitors to after a successful or failed submission

<input name="formto_redirect" type="hidden" value="Url or page to redirect visitors to on success">

<input name="formto_error" type="hidden" value="Url or page to redirect visitors to on error">

File uploads

Forms that contain file upload tags must have the enctype="multipart/form-data" attribute, like so

<form action="" method="post" enctype="multipart/form-data">

Add any number of single or multiple file upload tags to the form, like so

<input type="file" name="fieldname1">

<input type="file" name="fieldname2[]" multiple>

The following limits and cautions apply to file uploads

  1. Max size per file: 20MB
    Larger files are discarded

  2. Max POST size: 40MB
    Larger posts will fail
  3. File retention: 30 days
    Files are deleted after 30 days
  4. File accessibility not restricted
    Until deletion all files are accessible to anyone with the url
  5. File safety not guaranteed
    Files have not been scanned for viruses

Slack setup

To create a Slack webhook

  1. Go to
  2. Add an app to a workspace
  3. Activate "Incoming Webhooks"
  4. Select "Add new webhook to workspace" (bottom)
  5. Optionally, in the "OAuth & Permissions" section you can restrict the API token usage to the Form2Channel IP address
  6. Add a hidden input tag to your form
    <input name="formto_slack" type="hidden" value="Url of the Slack Webhook">
Slack Docs:

Example form

Telegram Setup

To get a Telegram ChatID

  1. Open this page on your phone and click the link
  2. Send /start to @Form2ChannelBot to get a ChatID
  3. Add a hidden input tag to your form
    <input name="formto_telegram" type="hidden" value="The Chat ID the Form2Channel Telegram bot sent you">

Example form

Webhook Info

You can use the formto_http method when contacting a webhook or another API.

Add an http address into a hidden field

<input type="hidden" name="formto_http" value="Address of the receiving webhook or api">

The receiving address must accept a Json array of objects (key/value pairs) like this

        {"key":"Country","value":"United Kingdom"},

Example form

Post your data directly to our Linx REST API

You can skip the form altogether and submit your data directly to our API as a Json object

        {"key":"Country","value":"United Kingdom"},
The API response consists of a Json object with two variables:
  1. Message (String)
  2. Success (boolean)
{"Message":"Form submitted","Success":true}

API limits

To prevent our API from being abused to spam recipients, the following limits apply

  1. Add up to 10 email recipients per IP address every 10 days
  2. Add up to 10 Google Sheet recipients per IP address every 10 days
  3. Submitting from locally hosted pages is not permitted