Skip to main content
Apr 15, 2016 6:04 AM UTC
Question

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

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

3 replies

SanfordWhiteman
User Group Leader
User Group Leader
Apr 15, 2016 6:50 AM UTC

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

Translate
Apr 18, 2016 11:22 PM UTC

Thanks Sanford!

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Apr 19, 2016 6:20 AM UTC

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

Translate