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
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].
Thanks Sanford!
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).