This is NOT a bootstrap issue.

I would recommend you make work the step form *without* the sliding effect 
first because you want to do something that should be the "whipped cream", 
but you should have a good cake FIRST.

There is no cut-and-paste-nor-free code to do that.

That I know of. 

You will have to get your hands dirty to do that effect.

Warning, not cut and paste solution, written out of my mind without coding 
doing it.

I strongly recommend you isolate your feature in a jsfiddle.

- Build form steps with no html body from a controller the controller 
output within the application
- See for transitions 
within http://twitter.github.com/bootstrap/javascript.html
- Grab $('body').on('submit', 'form', function(event){ 
event.preventDefault(); }); then use $.ajax to post, and read XHR return 
back into $(xhr.responseText).appendTo('form); That should be a replaceWith 
but you may get the idea.
- Have a look at jQuery validate plugin from bassistance.de, and pass it to 
$('form').validate().valid === true prior to do $.ajax

*But I see problems*
- If there is validation errors, the post may return the same view and 
break style
- If a user wants to go back, you may find problem to address it


*Things you may want to know*
- You may want to save somewhere the form state, have a look at 
localStorage HTML5 feature and keep steps
- Make sure your field names follows some re-usable, e.g. <input 
type="text" name="user[identity][firstName]" /> separating into square 
brackets builds arrays in PHP the other side

All in all.

Not something easy to do if you are not experienced with frontend dev.

Hope this was helpful.


On Friday, December 7, 2012 12:03:25 PM UTC-5, Brandon Cook wrote:
>
> New to bootstrap and have a question about the Carousel. 
>
> I'm looking to create a form that I can break up into parts with effects 
> just like the sliding carousel. Would the Bootstrap Carousel be a good 
> choice for this? I would need to disable the sliding be default and only 
> have it slide when the next button is actually clicked. 
>
> Thanks
> -Brandon
>

-- 
You received this message because you are subscribed to the Google Groups 
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to