In the drupal 6 version of webform rules & rules combo you could create a "when a webform is submitted" rule and use a textual comparison with submitted fields using the Token replacement values something like:

Two texts to compare:
[data:what_do_you_want_to_do-value-raw]
join

To test if [data:what_do_you_want_to_do-value-raw] was equal to "join"

In the Drupal 7 version I do not seem to be able to find any such tokens to do this. How can I do a text comparison or for that matter any comparison on a submitted value.

Thanks
Chris

Comments

rooby’s picture

Title: How to do textual comparison » Data tokens don't work in data comparison
Version: 7.x-1.6 » 7.x-1.x-dev
Category: Support request » Bug report

Rules doesn't seem to know about the data tokens in data comparisons.

rooby’s picture

Priority: Normal » Major
rooby’s picture

Status: Active » Closed (duplicate)
Related issues: +#2020149: Expose submission data to rules