Skip to content
Back to skills

Ux Form Controls

ASecurity

Specify or audit how a form turns a person's answer into a stored value. Use for choosing inputs, handling formatted or uploaded values, and helping people correct a rejected submission.

  • 225 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 25, 2026
business

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 25, 2026

npx -y skills add NeverSight/skills_feed --skill ux-form-controls --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ux Form Controls?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ux Form Controls
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-ux-form-controls/badge)](https://www.skillsdirectory.com/skills/neversight-ux-form-controls)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ux-form-controls
description: Specify or audit how a form turns a person's answer into a stored value. Use for choosing inputs, handling formatted or uploaded values, and helping people correct a rejected submission.
license: MIT
---

# Design from a sample submission

Ask what someone filling out this form has in front of them. A warehouse worker can copy a bin label from the shelf. They may need to look up the replacement part that belongs in that bin. Both fields could store IDs, but only one calls for typing the ID.

Inspect the actual form, its submit handler, and any rules the receiving service applies. For a design without code, work from the supplied data contract and identify assumptions. Pick a value that a careless implementation would change, such as a bin labeled `04-B` or a part name shared by two suppliers.

Start with the project's existing native or shared controls. When a custom widget is necessary, specify its accessible name, value, state, and keyboard operation together. A visual resemblance to a control does not supply its behavior.

1. **Choose how to answer.** Decide whether the person supplies a value, picks an existing record, or changes a preference. Check whether an empty answer is allowed and whether the change takes effect now or after Save. Use the [entry cases](references/field-choices.md) for decisions about individual controls.
2. **Follow the value.** Write down what the user enters, what the control displays, and what the service should receive. Try pasting an answer and changing its middle characters. Formatting that moves the caret, drops a leading zero, or changes the unit can make a valid answer impossible to enter.
3. **Design the correction.** Give the field a persistent label. Put a necessary constraint where it can be read before entry. Wait until a rule can be evaluated fairly before reporting a mistake. On rejection, name the affected field and a correction the person can make. Associate the error with the field, expose its invalid state, and retain the rest of the safe draft. Move focus to the first problem or a linked error summary when submission fails. Revalidate submitted values on the server, including rules that depend on current availability or permissions.
4. **Finish the round trip.** Submit the corrected example, inspect the accepted value, and reopen the form. Distinguish a blank answer from zero, a saved change from a pending one, and a returned error from a second submission.

For a proposal, show the control and one worked entry-to-save example for each disputed choice. For a review, give the failing input, the observed result, and the smallest fix. For implementation, run that example through the supported submission path, including keyboard entry and error recovery. Check that enlarged text and a narrow viewport leave labels, focus, and correction actions visible. Identify any behavior you could only inspect in code.

Files in this skill

  • SKILL.md2.9 KB
  • description_en.txt187 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.