1

I have a text field in an Entityform set to accept an unlimited number of values:

enter image description here

I'm trying to build a Rule that sends an email with the text from the last submitted value from the field. The token that I have to work with is:

[entityform:field-some-text]

The output of this token just concatenates all of the field's values into one text blob. For example, if I had four values, the output would look like this:

First text value., Another bit of text., Yet another value., I enjoy donuts.

All I want is that last value, "I enjoy donuts."

Is there a different token (or something I can tack onto the token) to only output the last value? Something like:

[entityform:field-some-text:last-value]


If it makes any difference, this on a Drupal 7 site.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.