Switch a Marketo form’s Thank You page based on the current URL

At first glance, you might think I’m just regurgitating a built-in Marketo Forms 2.0 feature. But, surprisingly, it’s not in there until you add a tiny bit of code.

Velocitip: Distinguish Alerts from real Emails — and a bit on Email to Salesforce

Copying an email using Send Alert lets sales stay in the loop. Prepending a note (“This is a CC”) to the Subject: or body is even smoother.

Rounding to the nearest 100, 1000, and so on in Velocity

Rounding to the nearest 10ⁿ in Velocity is a lot harder than you probably think — especially because “rounding” itself has more than one meaning.

De-creepifying ZoomInfo FormComplete on Marketo forms

ZoomInfo’s FormComplete plugin is... potentially pretty cool. (I’m not here to endorse any product... though I didn’t say anything mean, which is a good sign!) FormComplete delivers

Importing values with line breaks — e.g. Comments/Notes fields — using a standard Marketo CSV import

Vendor docs often lack detail. But most platforms use industry-standard formats, so you can supplement the docs with open standards and/or well-known patterns.

Displaying Account Owner info if it’s present, and Person Owner info if not (using Velocity)

Some folks in your Marketo database have an Account Owner, some have a Person (i.e. CRM Contact-level) Owner, and some aren’t yet owned. So how do you include

Displaying literal curly braces {{ }} in Marketo

Ever try to put literal text like “{{lead.Property}}” in a Marketo LP or email? It doesn’t happen naturally, but there’s a simple workaround.

Auto-scrolling to the first validation error on iOS (fixing a minor Forms 2.0 inconsistency)

Marketo Forms are based on a true HTML <form> tag, and use standard (semantic/non-fake) HTML <input> types whenever possible. As I always take care to