跳转到主要内容

Netlify Forms

技能 已验证 活跃

Netlify Forms 使用指南,用于 HTML 表单处理。适用于添加联系表单、反馈表单、文件上传表单或任何需要由 Netlify 收集的表单。涵盖 data-netlify 属性、垃圾邮件过滤、AJAX 提交、文件上传、通知和 submissions API。

目的

指导用户使用 Netlify Forms 有效地实现和管理 HTML 表单,用于收集数据、反馈和文件上传。

功能

  • Netlify Forms 的静态和 JavaScript 渲染表单设置
  • AJAX 提交处理,提供 vanilla JavaScript 和 React 示例
  • 通过 honeypot 和 reCAPTCHA 进行垃圾邮件过滤
  • 支持文件上传,并设置了大小和超时限制
  • 通知(电子邮件、Slack、webhook)和 Submissions API 访问

使用场景

  • 为网站添加联系表单
  • 实现反馈表单
  • 通过 Netlify 处理文件上传
  • 通过 Submissions API 以编程方式收集表单数据

非目标

  • 用于表单处理的服务器端代码
  • Netlify 范围之外的一般 HTML 表单最佳实践
  • 客户端表单验证逻辑(超出基本 HTML 属性)

Practical Utility

  • info:Edge casesSKILL.md 提到了 SSR 故障排除和文件上传限制,但没有广泛记录其他失败模式及恢复步骤。

安装

请先添加 Marketplace

/plugin marketplace add netlify/context-and-tools
/plugin install context-and-tools@netlify-context-and-tools

质量评分

已验证
95 /100
1 day ago 分析

信任信号

最近提交6 days ago
星标17
许可证MIT
状态
查看源代码

类似扩展

Deepinit

100

Deep codebase initialization with hierarchical AGENTS.md documentation

技能
Yeachan-Heo

Presentation Styling

100

关于表示中的 CSS 类、组件模式和语法高亮显示的知识

技能
shanraisshan

Presentation Structure

100

关于演示文稿幻灯片格式、权重系统、导航和章节结构的知识

技能
shanraisshan

Develop Web Game

100

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with render_game_to_text.

技能
davila7

Netlify Identity

100

用于身份验证、用户注册、登录、密码恢复、OAuth 提供商、基于角色的访问控制或保护路由和函数。始终使用 `@netlify/identity`。切勿使用 `netlify-identity-widget` 或 `gotrue-js` — 它们已弃用。

技能
netlify

Teach Guidance

100

Guide a person in becoming a better teacher and explainer. AI coaches content structuring, audience calibration, explanation clarity, Socratic questioning technique, feedback interpretation, and reflective practice for technical presentations, documentation, and mentoring. Use when a person needs to present technical content and wants preparation coaching, wants to write better documentation or tutorials, struggles to explain concepts across expertise levels, is mentoring a colleague, or is preparing for a talk or knowledge-sharing session.

技能
pjt222