On Monday, December 28, 2015 at 12:56:04 PM UTC-5, aetagot...@gmail.com wrote: > > Doesn't that defeat the purpose of using a form wizard, since I can use > jquery effectively without it all on the same page? >
I suppose it depends on why you are using a form wizard. Is the purpose of the wizard to break up a larger form into chunks to make the user experience better? If so, I see no reason not to keep it all on one page. The only reason to break it up into multiple pages is if you need to submit each page for server-side validation -- but even then, you could make the interim submissions via Ajax and still keep all the form code on a single page. > I have looked into jquery and did some excercises on codecadamy, and I > think I understand it alright..I just don't know how to incorporate it with > web2py code. > My previous suggestion was to use something like http://www.jquery-steps.com/Examples#advanced-form. Nothing changes from the web2py perspective -- it's just a single form on a single page that gets submitted once when everything is complete. Regarding handling the "wizard" aspects of the form, you would have to follow the jQuery Steps documentation, as that is not web2py specific. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.