返回 Skill 列表
extension
分类: 开发与工程无需 API Key

Create Web Form

创建网页表单的分步指南

person作者: jakexiaohubgithub

Create Web Form

Implement forms that users can complete quickly while preventing invalid or unsafe submissions.

When to Use

  • You need to build a new form flow in a web app.
  • Existing forms suffer from validation or usability problems.

Workflow

  1. Define required fields, defaults, and conditional sections.
  2. Implement client and server validation with actionable messages.
  3. Handle submit lifecycle (loading, success, recoverable failure).
  4. Add accessibility support for keyboard and screen readers.
  5. Cover edge cases with tests and clear retry behavior.

Output

  • Form architecture and validation plan
  • Submission/error handling strategy
  • Accessibility and test checklist