This is just a simple test to see how one would split up a form/changeset into multiple steps – with validations along the way – using Phoenix Live View.
The meat happens here lib/live_view_form_web/live/example_live.ex.
For a detailed writeup check out the accompanying blog post
To start your Phoenix server:
- Install dependencies with
- Create and migrate your database with
- Install Node.js dependencies with
cd assets && npm install
- Start Phoenix endpoint with
Now you can visit
localhost:4000 from your browser.
Ready to run in production? Please check our deployment guides.