I'm very new to Bootstrap but growing fast in my skill and also appreciation for it. I have a need to build a fairly complex page that will contain a lot of form elements, including multiple address fill-in components. I've attached here an image of the basic design that I am aiming for, and can't seem to achieve it with the basic form design elements available to me. I feel like my approach is getting "out of control" in the sense that I've got too many nesting levels and not enough understanding of what I'm actually doing. So rather than post the code I've got so far, can anyone give me a simplified example of how my design might be achieved?
My dotted-line rectangles represent the fact that my page should have a two-column display, with most of the form elements off to the wider RH side. And then, within that column, my form has some additional levels of complexity. There are many additional form elements that I'm not even showing here, and that's my main reason for wanting to design it this way--because I need to save on vertical screen real estate as much as possible.
Thanks for your help.
If you want to combine vertical and inline groups you should try the following hope it helps
You can see the result here http://jsfiddle.net/a2Lech1u/3/
Certain types of forms are complicated with and without Bootstrap. There is no complete out of the box solution for your form. You would combine Bootstrap with custom CSS and use nesting. The "easiest" way is to do each chunk, indent, comment and so forth. Be very detail oriented.
This is an example of the more annoying section of the form image you have, which is three nested columns inside the second column. I adjust all my forms that are similar to this to use percentage gutters inside the nested .form-group (which acts like a .row) as the 30px gutter for this is too big. Understanding the grid system, not just using it, will help you get more out of Bootstrap.
DEMO: https://jsbin.com/sejemi
CSS:
HTML
You should use http://getbootstrap.com/css/#grid for this.
A simple sample from me. Hope this will help you understand the concept.
you should look into bootstrap horizontal forms: http://getbootstrap.com/css/#forms-horizontal
heres a demo of what youre looking for using bootstrap horizontal forms: http://jsfiddle.net/swm53ran/31/ (this demo also shows the responsive capabilities of bootstrap)
essentially, you want to combine bootstraps grid system with bootstraps horizontal forms.
hope this helps!