Submitted over 2 years agoA solution to the Multi-step form challenge
Multi-step form React and Tailwind
react, tailwind-css
@btm990

Solution retrospective
Hello there! Could someone advise me on the best way to approach the form validation side of things? I tried using the "pattern" HTML attribute and passing in Regex but I kept on getting errors. As a result I have not fulfilled all of the active state requirements (red input border with "This field is required" title). Also the form seems to submit on every state change, which I don't know how to handle.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on btm990's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord