css3 - Multi-page django form - slider or FormWizard? -
i have long form want break multiple pages.
i evaluating between 2 options presentation:
- present form on multiple pages using formwizard
- present form on slider css3 slider.
the slider 1 page long using css3 give impression of slides. floats of content areas next each other, hides overflow, sets page width
500% if have 5 slides, , moves left-margin -100% show next slide. 1 page seems form being shown on sliding pages.
to me advantage of slider approach there 1 form , user submits form once @ end of slides , can go , forth make changes.(this common case).
versus having mini-forms formwizard
, submitting them after each page. me, formwizards
seems complicated if user wants change of previous page responses. need filefield
on form pages , seems formwizard
accepts filefield
on last page.
however, have not seen many folks use sliding forms (css3 or jscript one) approach. hence, newbie, wondering if there obvious pitfalls of doing this?
i can write formwizard
have used before. according 'handling files' section of django documentation can found in
https://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizard/
a filefield
can used in step of formwizard
implementation. found helpful using formwizard
django, provides standard functionality of forms
. means can create , manipulate forms, validate fields in each step, etc. not aware of how css3 slider accomplishes validation, guess validation should take place on client side.
additionally, django's formwizard
uses either cookie storage backend, or session storage backend in order store information, makes navigation between steps , modifying previous stored data pretty trivial.
i hope helped in decision! lot more information can found of course in django documentation of formwizard
in link provided above.
Comments
Post a Comment