Progressive profiling - 2 column form

Anonymous
Not applicable

Progressive profiling - 2 column form

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

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Progressive profiling - 2 column form

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].

Anonymous
Not applicable

Re: Progressive profiling - 2 column form

Thanks Sanford!

SanfordWhiteman
Level 10 - Community Moderator

Re: Progressive profiling - 2 column form

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

The demo form config'd like so:

pastedImage_2.png

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