Pattern ideas for multi-step pages in Meteor.js -


i'm creating multi-step process (4 steps exact) initiated link on home page. example clicking link says "create job post" , takes me step 1 of creating post. way i'm handling flowrouter creating 4 separate routes "/job/create/step-1", "job/create/step2", etc.

then create 4 templates 1 each step of process , linked them using "back" , "continue" buttons move forward or backwards in steps process in case user needs edit , stuff.

the way i'm approaching works, , i'm not aware of pitfalls of doing way if any; seem there's cleaner more logical way this.

i wondering if had patterns offer, or advice on how handled in meteor. suppose compare how blogs have "next" , "previous" button grab previous post record , grab next post record without knowing posts are. dynamic way of doing this, should reason myself in particular use case have 4 steps , pages known , won't change.

i hope makes sense. takes time. i'm looking more ideas , existing patterns else, if have code share in making point that's cool too.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -