Flip a Marketo form field between “Required” and “Not Required” at runtime

Build advanced form behaviors with this bit of JS.

NYC MUG in-person talk and meetup: Thursday, 9/25

See you there?

Extract “Firstname B. Lastname” from “firstname.b.lastname@example.com” using Velocity (with caveats)

Consider this a stopgap measure while you’re waiting for First and Last to be properly mapped.

Custom Object tip: create a duplicate field if you’ll need to constrain a Date/DateTime to specific ranges

Reporting and filtering requirements can force a weird CO schema, but it works.

You should probably be checking "isTrusted" in postMessage() listeners

The accepted way to secure postMessage() has a bypass you likely don’t know about, even if it’s not the hugest deal on its own.

Check if the current pageview is associated with a Marketo lead (without using the ol’ hidden KV HTML trick)

Rendering a hidden form just to check if someone is associated is a waste of resources. Here’s how to check efficiently.

Once you rewrite SMTP headers, you either need to re-DKIM-sign the message or stop checking DKIM

Once again forcing you to know what I know about DKIM.

If someone recommends “Request Token Encoding: None” in a webhook, always push back

Using “None” for POST payloads usually means something else has gone terribly wrong.