#70: Hotwire: Live form validations and previews

04/04/2022

Get live character counter, validations, content preview while you fill in a form using Hotwire

Article: Live form validations and error rendering. Live markdown preview: https://blog.corsego.com/live-form-validation-errors-markdown-preview

Episode source code: https://github.com/corsego/70-live-form-previews/commit/2c7747af6b5326f56035efd565e0705be0febb05

0:00 Solution walkthrough
1:46 Scaffold Tasks
2:30 Validate Tasks
3:16 Add second submit button
6:58 Previewable Object
9:45 No page redirect. TurboStreams
12:50 Stimulus Autosubmit
16:47 Debounce

0
Sign in to join the conversation