Skip to content

Small test to try and split a form into multiple steps using Phoenix Live View

Notifications You must be signed in to change notification settings

tuacker/phoenix_live_view_form_steps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

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

LiveViewForm

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

About

Small test to try and split a form into multiple steps using Phoenix Live View

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published