Answers.Body: <p>I found I could get the value I needed by using <code>contribution.custom_xx[0]</code>, though I was dealing with a field with only one option.</p>
  
  <p>For multi-select I presume you would need a foreach to output all of the array values, or implode it into a string if you just want the contents as a list.  I had tried implode but found I didn't need it, something like this might work
  <code>{', '|implode:contribution.custom_xx}</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-10T14:28:05.783Z
Answers.Text: Thanks for your comment, that's definitely what I need and on the right track! When I tried using your implode token, it didn't work, all that showed  was the text as it is: "{', '|implode:contribution.custom_xx}"
Answers.UserDisplayName: Seth Weber
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-03T20:42:55.893Z
Answers.LastActivityDate: 2020-06-03T20:42:55.893Z
Answers.UserDisplayName: Christopher
Body: <p>I created a message template for an email that will be sent to our accounting when an online contribution is made - it has a table and I've inputted tokens that will put in data for the contribution. I have successfully working tokens like {contribution.custom_44} and {contribution.custom_43} which are custom fields for contributions, but one of those is a Text field and the other is a regular Select field, but the 3rd one is a Multi-Select with the token {contribution.custom_45}, but when I test the message, in place of the token it puts "Array" instead of the actual value of that custom field (which is either one or more of the options in the Multi-Select dropdown). I've tried something like {contribution.custom_45.value} but that didn't work.</p>
  
  <p>Am I missing syntax here? I'm trying to get the values in that Multi-Select/Array, not just the fact that it's an array.</p>
  
  <p>Thanks :)</p>
  
Tags: <custom-fields><tokens>
Title: Token for Contribution custom field outputting "Array" for a Multi-Select custom field
ThreadText: # Token for Contribution custom field outputting "Array" for a Multi-Select custom field
  
  (Asked by: username_0 on 2020-06-03)
  
  I created a message template for an email that will be sent to our accounting when an online contribution is made - it has a table and I've inputted tokens that will put in data for the contribution. I have successfully working tokens like {contribution.custom\_44} and {contribution.custom\_43} which are custom fields for contributions, but one of those is a Text field and the other is a regular Select field, but the 3rd one is a Multi-Select with the token {contribution.custom\_45}, but when I test the message, in place of the token it puts "Array" instead of the actual value of that custom field (which is either one or more of the options in the Multi-Select dropdown). I've tried something like {contribution.custom\_45.value} but that didn't work.
  
  Am I missing syntax here? I'm trying to get the values in that Multi-Select/Array, not just the fact that it's an array.
  
  Thanks :)
  
  **Tags:** custom-fields, tokens
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-06-03. Score: 1
  
  I found I could get the value I needed by using `contribution.custom_xx[0]`, though I was dealing with a field with only one option.
  
  For multi-select I presume you would need a foreach to output all of the array values, or implode it into a string if you just want the contents as a list. I had tried implode but found I didn't need it, something like this might work
  `{', '|implode:contribution.custom_xx}`
  
  > **Comments:**
  > **username_0**: Thanks for your comment, that's definitely what I need and on the right track! When I tried using your implode token, it didn't work, all that showed  was the text as it is: "{', '|implode:contribution.custom_xx}"  
  
  ---
  
  