# Validate Emails in Jotform

URL: https://email-validation.org/docs/guides/jotform/
Updated: 2026-11-25

> Documentation index: https://email-validation.org/llms.txt

Check the email addresses in your Jotform submissions and see each one's status right in the submissions table. Two
pieces, use either or both: a command you run on your own computer checks a form's existing submissions as one bulk
list, tells you what it will cost and asks before it spends anything; a small relay you deploy to your own Cloudflare
account checks each new submission a few seconds after it arrives. Both write the status into a field you add to the
form, never touch the other answers and never delete a submission. Download them:
[email-validation-jotform.zip](https://email-validation.org/downloads/jotform/email-validation-jotform.zip) holds `jotform.mjs` (the command),
`relay.mjs` (the relay) and the MIT licence.

Jotform stores a submission before anything here sees it, so this cannot refuse an address while someone fills in the
form. To check an address before you accept it, check it in a form on your own site: see
[validate a sign-up form](https://email-validation.org/docs/guides/signup-form-validation/).

## What you need

- **Browser or computer.** The relay needs only a browser ([dashboard steps](#relay-dashboard)). The command needs
  a computer with Node 22.18 or later; it has no browser-only option. Nothing to install: it has no dependencies.
- An API key of ours from the [API keys page](https://email-validation.org/app/api-keys/): with the permission **Bulk lists** for the command
  (off by default: turn it on when you create the key), and **Read balance and usage** too if you want to see your
  balance before it asks. The relay needs **Validate addresses**; give its key a daily credit cap to limit what a busy
  form can spend.
- A Jotform API key: Jotform → My Account → **API** → **Create New Key**, with write access (it writes the status). A
  read-only key is enough for `--list`, `--dry-run` and `--no-write`.
- In the form, a **Short Text** field labelled `Email validation status`, hidden from people filling in the form,
  with no default value and no condition that fills it: a value in it that no edit put there is checked and overwritten.
- For the relay only: a Cloudflare account to run it in (and Cloudflare's `wrangler` command, `npx wrangler`, if
  you deploy it from a terminal).

## Check a form's submissions

```bash
cd email-validation-jotform                        # the unzipped folder
export JOTFORM_API_KEY=… EV_API_KEY=…
node jotform.mjs --list                            # your forms and their submission counts
node jotform.mjs --form <form id> --dry-run        # counts only: nothing uploaded, spent or written
node jotform.mjs --form <form id>                  # shows the credits and asks, then checks and writes
```

The form id is the number at the end of your form's address (`https://form.jotform.com/<form id>`). The command reads
every submission (1,000 a page), takes the address from the form's first Email field (`--email-field` picks another),
and checks each distinct address once: submissions with the same address share one check. Before it spends, it shows
the most credits it can use and your balance, and asks; `--yes` skips the question (needed without a terminal).
Duplicates, malformed addresses and `unknown` results are free.

Every result is kept in `jotform-<form id>-results.csv` (statuses, submission ids and a fingerprint of each address,
no addresses) before it is written to the form, so a run that stops never pays twice: run the same command again.
Accounts in Jotform's EU data centre add `--jotform-region eu`, HIPAA accounts `--jotform-region hipaa`;
`--region eu` has the addresses checked and stored in the EU.

Jotform limits each account's API calls per day, by plan, and the command needs one call per submission to write the
status. It watches the calls left and stops writing when 50 are left (`--keep-calls` changes that), so your other
Jotform integrations keep working; the rest stay in the results file and the next run writes them without checking
again.

Exit codes: `0` done (or you answered no), `1` a write failed or the run stopped early (run it again), `2` wrong
arguments, `75` the bulk list was still running when the command stopped waiting (run it again later to resume it).

## What it writes

The status field gets one of our five [statuses](https://email-validation.org/docs/statuses/), the reason and when, for example
`invalid (no_mailbox), checked 2026-11-16T09:30:00Z`. Filter the submissions table on it, or build a report or an
automation on the field.

A status written by an edit after the submission was stored counts: the relay's and the command's own writes are
edits, and so is a value you type into the field in Jotform. A submission whose field holds one of our statuses is not
checked again; one whose field holds something you typed is left alone.

Hiding a field does not stop someone filling it in: Jotform fills a field from the form's address, and anyone can post
to the form directly. So a status already in the field of a submission no one has edited since it arrived (Jotform
records the time of the last edit with each submission) is the submitter's, not ours: it is checked like an empty one
and overwritten with the real result. A submission with no usable address is left as it is. Jotform's own edit link
lets a submitter edit their submission, and a value set by such an edit counts as yours, as does a value the
submitter put in before you edit a submission yourself: let the relay or the command check new submissions first.

## Check each new submission

The relay is a Cloudflare Worker in your own account. No terminal? [Deploy it from the Cloudflare
dashboard](#relay-dashboard) instead. Or deploy it from the unzipped folder:

```bash
npx wrangler deploy relay.mjs --name ev-jotform-relay --compatibility-date 2026-10-01
npx wrangler secret put EV_API_KEY --name ev-jotform-relay        # our API key, with Validate addresses
npx wrangler secret put JOTFORM_API_KEY --name ev-jotform-relay   # a Jotform key with write access
openssl rand -hex 32                                              # a new secret for the relay's address
npx wrangler secret put RELAY_TOKEN --name ev-jotform-relay       # paste that secret
```

`RELAY_TOKEN` must be at least 32 letters, digits, `-` or `_`. Optional settings, each added to the deploy command as
`--var NAME:value`: `JOTFORM_REGION` (`eu` or `hipaa`), `EV_REGION` (`eu` to have addresses validated in the EU and their results stored there),
`FORM_IDS` (only these forms, comma-separated), `EMAIL_FIELD` and `STATUS_FIELD` (another field than the defaults:
its question id or unique name, or for the status its label).

Then, in the Form Builder: **Settings** → **Integrations** → **Webhooks**, enter
`https://ev-jotform-relay.<your subdomain>.workers.dev/<RELAY_TOKEN>` and complete the integration. Submit the form
once with `no_mailbox@sandbox.email-validation.org` (test addresses cost nothing; they receive no mail, so use a form
with no autoresponder email to the submitter): a few seconds later the status field shows `invalid (no_mailbox),
checked …`.

### Deploy the relay from the Cloudflare dashboard

No terminal and nothing to install: every step happens in your browser.

1. In the [Cloudflare dashboard](https://dash.cloudflare.com/), open **Workers & Pages → Create** and choose
   **Create Worker** (the "Hello World" starter). Name it `ev-jotform-relay` and select **Deploy**.
2. Select **Edit code**, delete the starter code, paste the whole of `relay.mjs` from the box below (**Copy** takes
   all of it) and select **Deploy**.
3. In the Worker's **Settings → Variables and Secrets**, select **Add** for each value below, then **Deploy**:
   - type **Text**: the optional settings above, such as `JOTFORM_REGION` or `FORM_IDS`, if you need them;
   - type **Secret**: `EV_API_KEY` (our API key, with Validate addresses), `JOTFORM_API_KEY` (a Jotform key with
     write access) and `RELAY_TOKEN` (32 or more letters and digits).
4. The relay's address, such as `https://ev-jotform-relay.<your-subdomain>.workers.dev/`, is on the Worker's page.
   Then add the webhook in the Form Builder as described above, with your `RELAY_TOKEN` at the end of the address.

For a random secret without a terminal, use your password manager's generator: 32 or more letters and
digits.

Open [relay.mjs as plain text](https://email-validation.org/downloads/jotform/relay.mjs.txt), select all of it and copy it.

### Who can call the relay

Jotform does not sign its webhooks, so the secret part of the relay's address is what keeps others out: keep it like a
key. Anything sent to another address gets `401`. The relay trusts only the form and submission ids in a delivery: it
reads the submission from Jotform with your key and checks the address Jotform holds. It answers Jotform at once and
writes the status a moment later (at least 1.5 seconds after the delivery, so Jotform records its write as a later
edit). A submission whose status an edit already set is never checked again, so a repeated delivery costs nothing.

Each submission costs the relay about two Jotform API calls (read it, write the status), from the same daily limit as
your other Jotform integrations. If the relay was down, or a write did not land, run the command on the form: it
checks only the submissions without a status of ours or yours.

## Try it on a test form first

Jotform does not document whether an edit through its API sends the form's notification or autoresponder emails
again, nor that an edit through its API records its time, which is how a status of ours is told from one the
submitter put in. Try both pieces on a test form with the sandbox address above before a large run: after the relay
has written the status, run the command on the form, which must check nothing and charge nothing. Neither piece has
run against a real Jotform account yet.

The command prints submission ids, job ids and counts, never an address or a key; the relay logs one line per
submission with ids and the result, never the address.

## More on Jotform

- [Jotform integration](https://email-validation.org/integrations/jotform/)
