Logging a Munchkin hit when someone *starts* filling out a form

Generally, I’m skeptical of “micrologging” outside of true UX testing. But the delta, if any, between people who started a form and those who submitted it might be interesting.

Join our next NYC MUG office hours – we need more people!

Even if you’re not in NYC, feel free to sign up for our biweekly virtual office hours.

Converting Integer 1/0 to Boolean true/false in Velocity

Another disquisition on a seemingly simple topic. You should be used to it by now!

Please anchor your regexes & stop driving me to distraction

What you meant — your code-head-canon, if you will — doesn’t matter if you don’t implement it.

Accessing the Program ID and Campaign ID from Velocity, the new way (post-June 2019)

Yet another way to get at these important values in Velocity. It’s weird-looking, but makes total sense in retrospect.

Masking (mildly) sensitive data values using Velocity

A one-liner to mask parts of sensitive fields, like ABCD0123 to ****0123.

Emulating ##MKT_TOK## in Velocity

If you know what ##MKT_TOK## is good for, you may have checked for it in Velocity and been disappointed. But it’s there too, just with a different name.

The *only* time you should use the + sign in Velocity instead of $math.add()

A single interesting exception… that *does not change* the rule that you should use $math.sub and $math.add instead of - and +.