SOLVED

Re: Target blank in Marketo forms on WordPress Page

Go to solution
Bert_Winterfeld
Level 2

Target blank in Marketo forms on WordPress Page

Goal: Open a regular HTML Link, embedded in a form label of a checkbox field, in a new browser tab

URL example: Request a Software Demo! | Searchmetrics

Form condition: select a country under GDPR law (UK, Germany, etc.) so two GDPR related checkbox fields will appear

Problem: The link behind "privacy policy" does not open in a new tab, although the HTML in Marketo looks like in the attached screenshot.

The link behind "unsubscribe link" has been built the same way and works perfectly fine.

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Target blank in Marketo forms on WordPress Page

Also, the cause is that if you look at the alternate label for that field (in the Visibility Rules popup) it doesn't have the target=_blank. You need to have it there as well, not just in the master label.

View solution in original post

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Target blank in Marketo forms on WordPress Page

Please remove the attachments and use inline images -- it's very difficult to follow threads with attachments, and they don't even show up in most views.

SanfordWhiteman
Level 10 - Community Moderator

Re: Target blank in Marketo forms on WordPress Page

Also, the cause is that if you look at the alternate label for that field (in the Visibility Rules popup) it doesn't have the target=_blank. You need to have it there as well, not just in the master label.

Bert_Winterfeld
Level 2

Re: Target blank in Marketo forms on WordPress Page

Thanks Sanford. Have a nice weekend