Oke, so I have this multi value field in drupal 7 and I want to use it's values in a custom php snippet in the rules module.
I found the Array Tokens module to generate an array of the values, but that is for Drupal 6.
Then I found Architecture RFC: Field token architecture, which makes me assume I could use [node:field-name:0] or [node:field-name:value:0] to read the first entry, but I either replaces nothing of throws an error (I have tried various combinations).
Could someone tell me:
- What is the right way to read a token with it's delta value?
- How to get the delta of the fields so I can start a for loop?