How to get values on next page.

When displaying multiple items such as name and age on the index screen and displaying them on the next screen, what is the description for controller and view?

index.html

<form action="/register/create" method="post">
    <input type="text" id="name">
    <input type="text" id="age">
</form>

I don’t know how to get value of name and age on next controller and show value on next view.

Hello and welcome.

You should use a changeset for the form, then You’ll be able to access values (and errors) for the field.

Using form and input directly is not the easiest way…

You can check how phx.gen.auth works…