You are viewing limited content. For full access, please sign in.

Question

Question

List each collection entry in email task

asked on July 14, 2017

Hi,

I have a form field collection that gathers first name and last name for up to 10 entries. I'd like to use this collection variable in an email task to list the first last name of each entry. Understandably, it is listing all of the first names together and then all of the last names together.

 

Does anyone know of a way to break those up so it lists first last, first last, first last... in the email? Or is this something that can only be done with workflow?

0 0

Replies

replied on July 16, 2017 Show version history

Since you need to split them up into pairs, Workflow might be the best option unless you are comfortable getting into JavaScript.

One all-Forms alternative might be to create a hidden field, then use JavaScript to join the first names and last names into the desired format and reference that variable instead.

One benefit to this approach is you could put them all in one field and customize your delimiter/formatting to make it more readable/grammar-friendly like "Fred Flintstone, Wilma Flintstone and Barney Rubble"

It would take some basic JavaScript/JQuery, but nothing overly complicated, and it would take Workflow out of the equation.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.