DEV Community

Cover image for Onboarding Forms - Building SaaS #51
Matt Layman
Matt Layman

Posted on • Originally published at mattlayman.com

2 1

Onboarding Forms - Building SaaS #51

In this episode, we added the first form to collect data in the onboarding flow. We used a CreateView and defined all the fields that are needed in the HTML form.

I started by filling in the HTML form structure of the page. Once the dummy version was in place, we changed from a TemplateView to a CreateView and began fixing each configuration error that the new view type reported as missing like missing a model field declaration.

With the form in a working state, I created the next view in the sequence and wired the success state of the form to a redirect to the next step.

At the end of the stream, I talked about the polish that is needed before the page is complete.

This article first appeared on mattlayman.com.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay