SOLVED

Guided landing page templates and form elements

Go to solution
Anonymous
Not applicable

Guided landing page templates and form elements

I've put a Marketo form inside my custom guided landing page template. Is there are way to control the settings (eg, the form's submit text and background color) using the Elements or Variables panels in the guided template editor?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Guided landing page templates and form elements

Using a GLPT like this...

pastedImage_0.png

... you can choose both color and submit text in any LPs based on the template.

(Yeah, I could've just set the textContent to the variable directly, but I felt like keeping all the variables in the CSS section today.)

View solution in original post

8 REPLIES 8
Joe_Reitz
Level 10 - Champion Alumni

Re: Guided landing page templates and form elements

You can't do what you're trying to accomplish directly from the LP editor. But if you want to use a master form and edit the CTA button text from program to program, you can make the text a token, and modify that token at the program level. So you'd set up the button text like this:Screenshot 2016-05-20 11.48.04.png

And edit it here (this is just a random screenshot, this specific token isn't on here):

Screenshot 2016-02-22 22.07.38.png

For the rest of the CSS overrides, you could either put those on the form itself or redefine on your LP template's stylesheet.

If it doesn't look cool, you're probably doing it wrong.
SanfordWhiteman
Level 10 - Community Moderator

Re: Guided landing page templates and form elements

Sure, you can do this using GLP variables. You don't need to resort to tokens (which after all are a different animal). Been doing this a bunch with clients as we move them to Guided mode. I'm OoO today but will post on this on the wknd.

Joe_Reitz
Level 10 - Champion Alumni

Re: Guided landing page templates and form elements

ah, very good point! This video kinda gets at what you're saying, I think... around the 4:30 mark. I'm so into time-saving I completely forgot about this!

Create a Guided Landing Page Template - YouTube

If it doesn't look cool, you're probably doing it wrong.
SanfordWhiteman
Level 10 - Community Moderator

Re: Guided landing page templates and form elements

Using a GLPT like this...

pastedImage_0.png

... you can choose both color and submit text in any LPs based on the template.

(Yeah, I could've just set the textContent to the variable directly, but I felt like keeping all the variables in the CSS section today.)

Anonymous
Not applicable

Re: Guided landing page templates and form elements

@Joe Reitz, @Sanford Whiteman – Thank you both for your help, and I appreciate the screenshots and code. I'll try the Javascript solution and see how that goes.

Is there a Marketo doc that lists all the events (eg, "whenReady")? I'd like to know which others are available.

Thanks again.

SanfordWhiteman
Level 10 - Community Moderator

Re: Guided landing page templates and form elements

The Forms 2.0 developer doc lists the officially supported events. You will find for most style-related customizations you want whenReady or whenRendered.

Grégoire_Miche2
Level 10

Re: Guided landing page templates and form elements

Should relocate this question to the "products" section.

Anonymous
Not applicable

Re: Guided landing page templates and form elements

Question moved to Products.