Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4826

Multi-Page Form Organization

$
0
0

@onsmith wrote:

Hi. I would like to know the proper organization in Ember for a multi-page user signup form. Here are my requirements:

1) The steps/views/pages of the form should all edit the same model, and possibly even multiple models, that will be submitted to the server via ember-data once the form is completed.

2) Pressing the back/forward buttons in the browser should move the form pages back/forwards.

3) It is not necessary to give each form page its own URL, but if it makes it easier then that's fine. If the user visits a URL in the middle of the form without first completing the first steps, Ember should redirect to the beginning of the form.

4) The model data should not be passed between form pages via URL GET parameters. Lets keep the URLs somewhat clean.

Should this be implemented with a single route? Multiple routes? How should the models be stored and passed from view to view?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles