Prepare a static signup page for form submissions by labeling each control, reserving layout space, enabling submission handling, and publishing the page.
Key takeaways
- Write headings and labels that describe topic or purpose before arranging any control, keeping each label brief and tied to its form field.
- Reserve image space by setting a width and letting the aspect ratio calculate height, rather than leaving containers to collapse around zero-sized defaults.
- Enable automatic form detection and add a
netlifyattribute to your HTML form when you want Netlify to manage submissions. - Record your label markup, hosting path and layout measurements so the page's preparation steps stay reproducible for future edits.
Static signup page: the preparation steps answered
Preparing a static signup page for form submissions comes down to four concrete steps: describe each form control, reserve layout space for images and containers, enable submission handling, and publish the page. The first two are about the markup and layout you write by hand. The third is where the hosting platform takes over.
Netlify's documented setup is direct: "To get started, enable automatic form detection and then add a netlify attribute to your HTML form," according to Netlify. That is the submission-handling step. Before you get there, though, the controls on the page need descriptive labels, and the layout needs reserved space so the page does not shift while it loads. Those are preparation tasks you complete in the markup itself, not settings you toggle.
Describe each control before arranging the form
Start by writing the words that describe each form control before you think about where it sits on the page. According to World Wide Web Consortium, headings and labels describe topic or purpose. That guidance comes from the "Understanding Success Criterion 2.4.6: Headings and Labels" page.
Keep those descriptions short. According to World Wide Web Consortium, labels and headings do not need to be lengthy. A brief label that names the field's purpose is enough; you are not writing a paragraph for each input.
Prefer text for the labels themselves. According to World Wide Web Consortium, labels of form controls are usually text-based.
When you review the controls you have written, distinguish the input states the markup defines. According to WHATWG, the HTML Standard heading names a "Text (type=text) state and Search state (type=search)". Check each input against the state you intend, and confirm your markup uses the one that matches the control's purpose.
A practical way to apply this on your signup page: write the label text for every field first, in a sentence or two for each field, then check that the label names the topic or purpose of that specific control. If a label reads "Email" or "Work email", that is brief and text-based and describes the field's purpose. If a label reads "Enter your email address here", it is still descriptive but longer than it needs to be. Trim it. Then confirm each input's type attribute matches the state you intend, so a search field is not marked as a text field and a text field is not marked as a search field. A related release pass is the signup widget checklist.
For the heading above the form, apply the same rule: the heading should describe the topic or purpose of the section it introduces. A heading like "Request access" tells the visitor what the form is for; a heading like "Form" does not. Keep it short and text-based, and you have satisfied the documented guidance for both headings and labels before you move on to layout.
Next, reserve space for every image before you measure loading. Give each image an explicit width so the browser can derive height from the aspect ratio, and give containers a minimum height instead of letting them collapse while content loads.
Reserve image and container space before checking loading
Before you measure loading, give your images and containers a defined size so the page does not shift while assets arrive. According to web.dev, "As soon as an image is told to be a certain width (for example width: 100%), the aspect ratio is used to calculate the height." That calculation reserves vertical space for the image before it loads, which keeps the layout stable.
The alternative is letting the image default to zero dimensions. According to web.dev, "Even if the actual aspect ratio is different from the default, it still causes less layout shift than the 0x0 default size of an image with no dimensions provided." So a width declaration plus an aspect ratio beats leaving the image unsized, even when the ratio is not exact.
Apply the same thinking to containers that will hold late-loading content. According to web.dev, "Using min-height, as suggested previously, allows the parent element to grow as necessary while reducing the impact of layout shifts, compared to the 0px default size of an empty element." Set a min-height on the wrapper rather than letting it start empty at zero height.
For your static signup page, that means three concrete markup choices: declare a width on every hero and product image, pair it with an aspect ratio, and give any container that will receive content a min-height. Review each image tag and each empty wrapper in your landing-page markup, and add these properties before you run any loading measurement. For a related width check, read signup page reflow width.
Illustrative example of reserved signup space
Picture one signup page with 4 fields and 1 hero image. Set image width to 100 so height follows the aspect ratio. Set container min-height to 500 so the wrapper does not start empty. Write 4 brief text labels. Mark 1 field with the search state and leave 3 fields in the text state. These round figures only show the order of work.
Enable Netlify detection or follow the separate hosting path
When your markup and layout are ready, the next decision is where submissions get handled. If you want Netlify to manage submissions automatically, you need to enable form detection, according to Netlify. The netlify attribute is the signal the platform looks for when it scans your site.
Timing matters here. Starting with your next site deploy, Netlify will automatically scan your deploys for forms that require submission handling, according to Netlify. So the detection step is not retroactive: you enable it, add the attribute, then deploy, and the scan begins with that deploy. If you change the form markup later, the next deploy triggers another scan.
If your hosting path is Firebase instead, treat it as a separate route. Firebase documents that you can deploy your static and single-page web apps to a global CDN with a single command, according to Firebase. That instruction covers deployment only; it does not establish that Netlify Forms handling applies on that path. The two hosting choices stay distinct in your preparation notes.
Record which path you chose before you publish. If you are on Netlify, your checklist is: enable form detection, add the netlify attribute, and deploy to trigger the scan. If you are on Firebase, your checklist is the deployment command alone, with form submission handling arranged separately. Keep the hosting decision on file so the next person who touches the page knows which detection steps apply.
Publisher reference table for page preparation
The four preparation steps map to distinct publishers, each with its own documented guidance. The table below lists one row for each publisher, using only what each source states.
| Publisher | Guidance | Target or action |
|---|---|---|
| World Wide Web Consortium | Headings and labels describe topic or purpose. | Keep labels brief and usually text-based. |
| WHATWG | Distinguish Text state and Search state. | Review each input state. |
| web.dev | Use aspect ratio to calculate height; use min-height for containers. | CLS of 0.1 or less; LCP of 2.5 seconds or less. |
| Netlify | Enable automatic form detection and add a netlify attribute. | Scanning starts with next site deploy. |
The World Wide Web Consortium sets the labeling foundation: "Headings and labels describe topic or purpose," according to World Wide Web Consortium. That same source keeps the scope tight, with labels that are brief and usually text-based.
For the input states, the WHATWG row covers the distinction you need to make when reviewing each control. The web.dev row pairs the layout and loading targets: "To provide a good user experience, sites should strive to have a CLS of 0.1 or less for at least 75% of page visits," according to web.dev, and "To provide a good user experience, sites should strive to have an LCP of 2.5 seconds or less for at least 75% of page visits," according to web.dev.
Keep this table on file alongside your markup so each preparation step has a named source behind it. When you review your page, match each control, layout choice and hosting decision to the row that documents it.
Keep the markup, hosting choice and measurements on file
Record the label markup, hosting path, and layout and loading measurements before you move on, so the next edit starts from a documented baseline. When you interpret a CLS measurement, remember that layout shifts occurring within 500 milliseconds of user input are not counted towards CLS, according to web.dev. When you interpret an LCP measurement, note that LCP measures the time from when the user initiates loading the page until the largest image or text block is rendered within the viewport, according to web.dev. A related check is landing page speed.
Keep the descriptive label text and the input state distinctions alongside the measurement notes, since both belong to the same preparation record. Keep the hosting choice separate from the form-handling notes: the hosting path you publish through does not by itself establish how submissions are handled. Store the aspect ratio and container min-height values you applied so the reserved space is reproducible on the next iteration.
Close the record with one action: save the page's current markup, its hosting path, and the CLS and LCP measurements in the same file, then compare them against the cited targets on your next review.
FAQ: static page forms and hosting boundaries
How do I prepare a static signup page for form submissions?
Describe each form control with a brief, text-based label, reserve layout space for images and containers, and, on the Netlify path, enable form detection, add the netlify attribute, and deploy.
Does Netlify need form detection enabled for my page?
Yes, if you want Netlify to automatically manage your form submissions, you need to enable form detection, according to Netlify. This is the documented prerequisite before Netlify will handle the submissions itself.
When does Netlify start scanning deploys for forms?
Netlify begins scanning with the next site deploy after form detection is enabled, according to Netlify.
What layout and loading targets should I check?
Sites should strive to have a CLS of 0.1 or less for at least 75% of page visits, according to web.dev, and an LCP of 2.5 seconds or less for at least 75% of page visits, according to web.dev.
Can Firebase deploy a static signup landing page?
Yes. Firebase documents deploying your static and single-page web apps to a global CDN with a single command, according to Firebase. Treat this as a separate hosting path from the Netlify detection steps; the Firebase instruction does not establish Netlify Forms handling on that path.