This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Field alignment for multiple fields


  1. effithom
    Member

    I really like the Field Alignment feature (http://www.appnitro.com/doc-field-alignment), and am just getting the hang of it, but it seems a bit limited for what I need it to do. So I thought I'd pop into the forum to see if anyone could assist...

    I need to get 6 fields aligned into 3 columns (on 2 rows).

    For example:

    Row 1: Field 1 Field 2 Field 3
    Row 2: Field 4 Field 5 Field 6

    However when I assign the column_3 Built-in Class to the Custom CSS Class field property, the result is that the first 3 fields align perfectly on the first row, while the remaining 3 fields are somewhat scrambled over two rows. The total number of rows ends up being three, instead of the two total rows intended.

    For example:

    Row 1: Field 1 Field 2 Field 3
    Row 2: Empty Field 4 Field 5
    Row 3: Field 6 Empty Empty

    This makes sense, since it seems that column_3 can only be assigned to 3 fields; not 6 fields, 9 fields, 12 fields, or so on. Please correct me if I'm wrong.

    If my assumption is correct, is there a solution? (I'm thinking out loud here so hopefully I've written out the problem and example clearly above).

    Posted 11 years ago #
  2. yuniar

    Yes, you can add "new_row" class into the first field of each column. That should fix the issue.
    So, for Field 1 and Field 4, the class would be "new_row column_3"


    MachForm Founder

    Posted 11 years ago #
  3. effithom
    Member

    That worked perfectly! Thanks Yuniar!

    Posted 11 years ago #

RSS feed for this topic

Reply