Topic: Complex Wizard Style Form

Hi, I have read a few threads on here on wizard style interfaces.

I think the best way is to use javascript to make sections of a form appear and disappear like steps as this makes the model a lot easier to create using Rails.

Is the best way to do this using jQuery? Or is it possible with just the in-built libraries? I'm a bit stuck on the implementation.

Also, I would like once a field on step 1 is completed for to lookup a database table in Rails and display the results if there are any as part of step 2 on the form/wizard. Can anyone help me with this? I'm guessing it's a kind of AJAX thing but I'm pretty hopeless with that in Rails.

Re: Complex Wizard Style Form
Should get ypu started

What you want and what you need are too often not the same thing!
When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.
(Quote by me 15th July 2009)

Re: Complex Wizard Style Form

Thanks but I don't think that example is the easiest way to do it.

I don't need to use browser back buttons, simple javascript is enough. I also don't tend to use lambdas, all of that code they have seems more complicated than my initial idea which I think can work, I'm just unsure on implementation.

Re: Complex Wizard Style Form

Look here how it was done with jQuery.