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
Post a Comment