Progressive profiling - 2 column form | Community
Skip to main content
April 15, 2016
Question

Progressive profiling - 2 column form

  • April 15, 2016
  • 1 reply
  • 1776 views

Hi Team,

Was hoping someone could help or advise whether it is possible to have have a 2 column progressive profiling form using custom javascript?

Appreciate any feedback anyone has here.

- Michelle

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
April 15, 2016

Yes, quite.

Move a DIV.mktoFormCol inside a DIV.mktoFormRow and you have the standard 2-column layout.

So have a list of your ProgPro fields and go through 'em like this (pseudocode):

foreach field in fields, fromindex 1, step 2

     append parent column of fields[thisindex] to parent row of fields[lastindex].

April 18, 2016

Thanks Sanford!

SanfordWhiteman
Level 10
April 19, 2016

P.S. Actual code at MktoForms2 :: ProgPro 2up

The demo form config'd like so:

# of blank fields is 3 to show the dynamic 2-column layout (you'd probably want to show a multiple of 2 in production).