Get data from a form_for submit data to use in another form_for/route

Maybe You can use assign/3 from Plug.Conn to set the value of my_struct inside the assigns field of the connection.

You can see this thread I'm confused about "assigns" what does it do?

1 Like