-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] new reference guide on contact forms in Gatsby #14564
Comments
I can try taking this one up! |
@dyyyl awesome. Let us know if you have any questions! |
Hey @marcysutton! I'm getting close to PR time, but I'm struggling to add the new article to the sidenav. Can you please point me in the direction on how that's managed in the repo? Thanks! |
Adds a reference guide for building contact forms in Gatsby! Has sections regarding: - Adding a Contact Form - Creating an Accessible Form - Sending Form Data - with Netlify - with Formspree - Running Your Own Server - Other Resources (a cool Scott Tolinski tutorial)
Actually, scratch that! Managed to figure it out, PR is out! Really enjoyed working on this one 😄 |
* Docs: add Build a Contact Form reference guide (#14564) Adds a reference guide for building contact forms in Gatsby! Has sections regarding: - Adding a Contact Form - Creating an Accessible Form - Sending Form Data - with Netlify - with Formspree - Running Your Own Server - Other Resources (a cool Scott Tolinski tutorial) * Adds a reference guide for building contact forms in Gatsby! Has sections regarding: - Adding a Contact Form - Creating an Accessible Form - Sending Form Data - with Netlify - with Formspree - Running Your Own Server - Other Resources (a cool Scott Tolinski tutorial) This time, actually includes reference guide! ✨ * Adds fixes for all aforementioned proposed changes, including: - Removes `Adding a Contact Form` Heading - Fixes link to `Adding Forms` - Fixes `Run your own server` case - diffs netlify code example, as requested - adds link to netlify form-handling doc - adds reference to formspree honeypot for spam prevention (good catch @marcysutton!) * Adds subheading to gracefully transition between sections Adds subheading to indicate transition between conceptual form example and practical how-to's
…atsbyjs#14768) * Docs: add Build a Contact Form reference guide (gatsbyjs#14564) Adds a reference guide for building contact forms in Gatsby! Has sections regarding: - Adding a Contact Form - Creating an Accessible Form - Sending Form Data - with Netlify - with Formspree - Running Your Own Server - Other Resources (a cool Scott Tolinski tutorial) * Adds a reference guide for building contact forms in Gatsby! Has sections regarding: - Adding a Contact Form - Creating an Accessible Form - Sending Form Data - with Netlify - with Formspree - Running Your Own Server - Other Resources (a cool Scott Tolinski tutorial) This time, actually includes reference guide! ✨ * Adds fixes for all aforementioned proposed changes, including: - Removes `Adding a Contact Form` Heading - Fixes link to `Adding Forms` - Fixes `Run your own server` case - diffs netlify code example, as requested - adds link to netlify form-handling doc - adds reference to formspree honeypot for spam prevention (good catch @marcysutton!) * Adds subheading to gracefully transition between sections Adds subheading to indicate transition between conceptual form example and practical how-to's
Merged in #14768 |
Summary
A common question in Gatsby is how to build a functioning contact form (it is also a key workflow). Without a server runtime environment, it isn't exactly intuitive how to hook up a form action to submit data.
The first step to improving that workflow would be to create a reference guide in the docs; reference guides are technical documentation outlining the various ways to build things in Gatsby (as opposed to tutorials, which are step-by-step instructions). Check out the docs templates and [Gatsby Style Guide[(https://www.gatsbyjs.org/contributing/gatsby-style-guide/) for more information.
Here are some of the potential points to include in such a guide:
This could be added to the docs sidebar under "Adding Website Functionality", under Adding Forms. The title of this one should differentiate that it is about hooking up the contact form, more than building out the markup; something like "Building a Contact Form" perhaps?
This is up for grabs if anyone wants to take it on!
The text was updated successfully, but these errors were encountered: