Learn how to use one form to create or edit
👍 If You Enjoy This Video, Consider Hitting The Like Button!
👨💻 Series Source Code: https://github.com/adocasts/lets-lear...
🥁 Subscribe To Stay Notified For New Videos: https://www.youtube.com/adocasts?sub_...
Subscribe to Adocasts Plus to gain access to all our lessons and more!
https://adocasts.com/pricing
In this lesson, we'll learn how we can merge our create form and edit form together into a create or edit form. We'll conditionally determine whether we'll be creating or editing based on our movie value and use EdgeJS features to simplify the process
⏰ Timestamps
00:00 - Making the Create or Edit Page
02:10 - Setting Input Values for Create or Edit
03:34 - Swapping In & Testing Our Page
04:24 - Deleting Our Create and Edit Pages
04:31 - Testing Our Create or Edit Page
------------------------- Socials --------------------------
Website: https://adocasts.com
Threads: https://threads.net/@adocasts
Twitter: / adocasts
GitHub: https://github.com/adocasts