Results 1 to 4 of 4

Thread: Splitting a form

  1. #1
    New user
    Join Date
    03-22-13.
    Posts
    3

    Default Splitting a form

    Dear Contao users,

    I am a newbie with contao and I have a small problem. I made a large form, so you have to scroll down alot. Is it possible to split the form in two, so the downscrolling will be reduced by half.

    Many thanks!

    Eric

  2. #2
    Experienced user
    Join Date
    08-21-09.
    Posts
    563

    Default Re: Splitting a form

    Certainly, but not just in Contao itself. I can think of two ways:

    1. Use CSS only to float or inline-block your field wrappers, setting appropriate widths.

    2. Wrap each column in a fieldset within Contao, give them both the same class, and CSS those to float or inline-block next to each other. You'd also want to remove the borders from those fieldsets in CSS as well.
    Brian

  3. #3
    New user
    Join Date
    03-22-13.
    Posts
    3

    Default Re: Splitting a form

    Thanks for your answer, I will try both solutions you suggested and let you know it worked out or not.

  4. #4
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Splitting a form

    Another option is to split the form into two pages. Probably not what you need, but it can be done using the extension efg (Extended Form Generator).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •