cd /news/ai-tools/forms-that-don-t-fight-your-users-pr… · home › topics › ai-tools › article
[ARTICLE · art-177993] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=· neutral

Forms That Don't Fight Your Users: Prompting AI for Sign-Up and Contact Forms

A developer who works on the VibUI prompt catalogue published a checklist for prompting AI website builders to generate accessible, usable sign-up and contact forms. The guidance calls for visible labels linked to inputs, plain-language error messages placed next to fields, validation on submit rather than every keystroke, minimal field counts, and full keyboard support, and includes a reusable prompt covering those requirements. The author notes the advice applies to output from tools including v0, Lovable, Bolt, Cursor, Claude, ChatGPT and GitHub Copilot, and discloses a paid catalogue of 2,852 website prompt templates.

key takeaway

Prompting AI site builders for form behaviour — visible labels tied to inputs, plain-language errors under each field, submit-time validation, focus moved to the first invalid field, correct input types and autocomplete, and keyboard operability — yields shippable forms without a round of sign-up fa

by read3 min views3 publishedNov 29, 2026

Disclosure: I work on VibUI, a paid catalogue of website prompts. It appears once, near the end. The checklist works with any tool and costs nothing.

Short answer: forms are where a page either turns a visitor into a contact or loses them, and AI-generated forms usually get the visual part right and the human part wrong: placeholder text used as labels, errors that appear in red with no explanation, fields that demand more than you need, and no way to use the form without a mouse. Prompt for the behaviour, not just the look: visible labels, plain-language errors next to the field, the fewest fields possible, and keyboard support. The advice applies to output from v0, Lovable, Bolt, Cursor, Windsurf, Claude, ChatGPT, Gemini, Replit, GitHub Copilot, Framer AI, Google Stitch, Readdy, Aura.build and OpenAI Codex.

The gain is a form you can ship without a round of "I tried to sign up and it didn't work" messages. It is not a promise of any conversion rate.

Element Specify in the prompt Why
Label Visible text above the field, linked to the input Works for screen readers and stays visible while typing
Hint Short text under the label only if the format matters Avoids guessing, e.g. date format
Error Message next to the field, says what to change, linked to the input Easy to find and fix
Required Mark optional fields, not required ones, if most are required Reduces clutter
Type Correct input type (email, tel, number) and autocomplete attribute Right mobile keyboard, browser autofill
Button Specific text ("Send message"), disabled state only while sending Clear outcome
Build a contact form with name, email and message only.
- Visible labels above every field, associated with the input. No placeholder-as-label.
- Validate on submit, not on every keystroke. Put the error message under the field in plain words
  (for example "Enter an email address like name@example.com").
- Move focus to the first invalid field and show a summary of errors at the top.
- Correct input types and autocomplete values. 16px minimum text so phones do not zoom.
- Everything reachable and usable with the keyboard; visible focus outline.
- Show a clear success message; show a clear failure message with a retry if the request fails.
- No extra fields, no CAPTCHA unless I ask, no third-party scripts.

If you build a form once a year, use the prompt above and keep it in a snippets file. A catalogue helps if you ship many pages with forms, pricing and FAQs and want starting briefs you then harden with this checklist.

For anyone who wants to look: The library I work on is VibUI. It has 2,852 website prompt templates (775 full pages, 1,100 sections, 817 components and 160 animated backgrounds), and about 1,000 of them include source code. Payment is one-time with no auto-renewal: $48 quarterly, $99 yearly, or $179 lifetime (listed down from $384). The yearly and lifetime plans also include 2,407 AI video prompts. There are 60 free samples, and a free account can copy 2 prompts. Try a free sample that contains a form, run it through the five checks above and see how much you would have changed.

Should I validate on every keystroke?

Usually not. Early errors, while someone is still typing, feel like scolding. Validate when they leave the field or submit.

Do I need a CAPTCHA?

Not by default. Try a hidden field or server-side rate limiting first, and add a challenge only if you see abuse.

Can the AI tool handle accessibility on its own?

It can follow explicit rules, but check the result with a keyboard and a screen reader.

Is it worth paying for prompts for forms?

Probably not for one form. It may be for a team that builds many pages.

── more in #ai-tools 4 stories · sorted by recency
── more on @vibui 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/forms-that-don-t-fig…] indexed:0 read:3min 2026-11-29 · —