AI TOOLS

Embed an Airtable form in a shared HTML page

A sign-up page, event page or report with an Airtable form on it. Why the frame is blank without /embed, what a wrong form address shows, how to pre-fill and hide fields, and how to share the page as a link.

4 min read·

Ask Claude or ChatGPT for a sign-up page "with an Airtable form" and it adds an <iframe> pointing at airtable.com, often with a script from static.airtable.com. It works in a shared page if the address is the embed address.

The tests below were run in headless Chrome against a public Airtable interface form (an address ending in /form), on a page served over http and on the same file opened from disk.

Use the /embed address

In Airtable, open the form, choose Share, then Embed this form, and copy the code. The iframe address has /embed right after airtable.com: airtable.com/embed/appXXXX/pagXXXX/form for an interface form, or airtable.com/embed/appXXXX/shrXXXX for a form view. AI tools often paste the regular share address instead.

Tested: the regular share address in an iframe showed a blank frame. Airtable sends that page with X-Frame-Options: SAMEORIGIN, so browsers refuse to show it inside another site. The /embed address loaded the form.

The frame keeps its height and scrolls

Airtable's embed code sets a fixed height of 533 pixels. Tested: the form inside was about 3,300 pixels tall and scrolled inside the 533-pixel frame; the Submit button was reachable by scrolling. Adding the airtable-dynamic-height class and Airtable's embed_snippet_v1.js script did not change the height of this interface form in the test.

To show more of the form without inner scrolling, raise the height in the iframe tag. An iframe with no height at all showed the form in a 150-pixel box.

Use your form address

The app and page IDs (app..., pag... or shr...) come from your own form. AI tools sometimes fill in placeholders.

Tested: an address with an ID that does not exist redirected to Airtable's sign-in page, which also refuses to load in a frame, so the frame was blank. A blank frame means either the address is missing /embed or the ID is wrong; a form that was unshared shows "This private share link is no longer available" instead.

Opening the file from your computer

Tested: the same page opened from disk (a file:/// address) loaded the form the same way as over http.

Pre-fill or hide a field

Add prefill_ plus the field name to the form address, with spaces written as %20: airtable.com/embed/appXXXX/pagXXXX/form?prefill_First%20name=Sam&prefill_Email=sam%40example.com. Add hide_ plus the field name with =true to hide a field.

Tested: First name showed "Sam", Email showed the address, and hide_Last%20name=true removed the Last name field. Pre-filled values are visible in the page source, so do not use them for anything private.

Upload it and send the link

Drag the HTML file onto the FileShare Pro dashboard and copy the link. Viewers need no account on FileShare Pro. The shared view does not restrict frames or scripts inside your page, so the form loads there as it did in the test. Submissions go to your Airtable base, not to FileShare Pro.

Edit the form in Airtable and the embedded form shows the new version on the next load; the page and the link stay the same. To collect replies without a form service, see a feedback form with no backend. Related: a Jotform in a shared page, a Google Form in a shared page and a Tally form in a shared page.

Frequently asked

Do viewers need an Airtable account to answer?

Not for a form that accepts anonymous responses. The test form loaded and showed its fields with no sign-in. Airtable asks people to sign in if the form is set to record who submitted it.

Does a password on the page keep the form private?

No. The password protects the page. The form address is in the page source and the form works on its own at its Airtable address: password-protecting an HTML page.

Does the page show up in Google?

No. Shared files carry a noindex header: keeping a preview out of Google.

Got a page to share?

Drop the file, copy the link — live in seconds, free plan included.

Start sharing free