Multi-page forms with validation can be simple.
@asidorenko_35K followers
39,283 views
7 Comments
Comments from the original post on X (Twitter)

@com4tablynmb
Elegant
1 like

@kop__ivan
What happens if you press enter on the first step?
1 like

@kop__ivan
Good example, but with this approach on a real project wouldn't you need to reimplement commonly used form library functionality such as: - custom validations of multiple dependant fields - watching values to apply effects - getting form context in nested elements - array fields
1 like

@asidorenko_
Form libraries are often overused for things that are not a business requirement. When encountering a complex form, the good first reaction is - "can we simplify it". If complex form is at the core of the business, it's another story. But it's rare.
2 likes

@deepwhitman
yup - I don't know why React devs in particular need to go full formik / name your favorite package just to submit a couple of fields. Form state works perfectly fine in most cases.
1 like

@batyshkaLenin
So that's why I couldn't get a shorter domain...

@informel_js
💯. informel was built with that simplicity in mind. That form remains the same, just wrapped within <InformEl>, which brings more features: custom errors, getting the values, dirty state etc...