#70: Hotwire: Live form validations and previews
04/04/2022
Free
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
Recommended based on what you are watching now
![#4: seeds, faker, pagy, ransack, strftime](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTc3OSwicHVyIjoiYmxvYl9pZCJ9fQ==--bdef0c32fe91d036f7fa9cc1d83cd7246f17d3b8/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
28:01
#4: seeds, faker, pagy, ransack, strftime
16/06/2021
Free
![#33 Gem Dotenv - alternative to Rails credentials](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTc1NywicHVyIjoiYmxvYl9pZCJ9fQ==--1850728c91e48b7b1ca19bdd4cab5a6048745b85/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
08:23
#33 Gem Dotenv - alternative to Rails credentials
03/06/2021
Free