with the old web form v2 I was able to use %cid[5] this no longer works with web from v3

For example, I've tried to use the %product token but it does not recognize it in the subject line.

is this now considered a custom token?

how do I get this to work with the new web form module 3?

Comments

quicksketch’s picture

I think you can use %value[form_key] to accomplish this in 3.x.

aubjr_drupal’s picture

I had the same issue, and quicksketch was right.

Make sure to not make a basic mistake of putting '' around the form_key value, BTW.

%value['first_name'] - incorrect
%value[first_name] - correct

That bone-headed PHP error had me stumped for a few minutes. :)

quicksketch’s picture

Status: Active » Fixed

Sweet, thanks for the confirmation.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.