Change variables order in Guider landing pages template | Community
Skip to main content
New Participant
June 15, 2020
Solved

Change variables order in Guider landing pages template

  • June 15, 2020
  • 1 reply
  • 2383 views

Hi everyone,

 

I am working on a new guided landing page template. I have these 3 variables in my code:

<meta class="mktoBoolean" id="showNav" mktoName="1. Show Top Nav Section?" default="true" true_value="flex" false_value="none" false_value_name="Hide" true_value_name="Show"> <meta class="mktoBoolean" id="showSection2Form" mktoName="2. Show Form?" default="true" true_value="block" false_value="none" false_value_name="Hide" true_value_name="Show"> <meta class="mktoString" id="SubFormText" mktoName="3. Text on top of the form" default="Complete this form to register.">

 

When I approve the template file and use it in a landing page, they show up in different order, as seen below:

The order should be 1, 2, 3.

 

Do you have any ideas how to fix this?

 

Best regards,

Yavor

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

Marketo is ordering each variable based on the type of module you're defining. So because the third module is a "String" it is moved to the top. 

 

You can test this by setting one of the others to a string and you will see what I mean. 

 

So if you had them all as boolean it would show in the correct order, but I assume that you don't want them all as boolean.

 

There is an open idea here that you can vote on for Marketo to implement: https://nation.marketo.com/t5/Ideas/Guided-Landing-Page-or-email-2-0-variables-should-display-in-the/idi-p/267065

1 reply

adrianfraguela
adrianfraguelaAccepted solution
New Participant
June 15, 2020

Marketo is ordering each variable based on the type of module you're defining. So because the third module is a "String" it is moved to the top. 

 

You can test this by setting one of the others to a string and you will see what I mean. 

 

So if you had them all as boolean it would show in the correct order, but I assume that you don't want them all as boolean.

 

There is an open idea here that you can vote on for Marketo to implement: https://nation.marketo.com/t5/Ideas/Guided-Landing-Page-or-email-2-0-variables-should-display-in-the/idi-p/267065