Answers.Body: <p>Without knowing on what form you are exactly, there is bound to be something like contributionId or contributionID in your form. </p>
  
  <p>You can find the name in the $form object (try debugging the object for the specific name) and then use <code>$contributionId = $form-&gt;getVar('_contributionID')</code> to get the field and use it in your hook (assuming you are using a hook).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-31T17:32:57.797Z
Answers.Text: This isn't a form but a system workflow message, so there's only Smarty available here.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-03T08:34:37.670Z
Answers.Text: Okay, I was thrown in the wrong direction by the $formValues.
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-31T10:05:12.247Z
Answers.LastActivityDate: 2018-12-31T10:05:12.247Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>Editing the work flow messages, I'm looking for the field names preceded by $formValues.<br />
  More specific I would like to include a line displaying the origin of the contribution in the work flow message <em>"Contributions - Receipt (off-line)"</em>.<br />
  Where to find all the field names that can be used?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-31T17:34:13.007Z
Comments.Text: Possible duplicate of [How can I see the available tokens for message templates?](https://civicrm.stackexchange.com/questions/813/how-can-i-see-the-available-tokens-for-message-templates)
Comments.UserDisplayName: Jon G - Megaphone Tech
Tags: <contributions><system-workflow-messages>
Title: $formValues field names
ThreadText: # $formValues field names
  
  (Asked by: username_0 on 2018-12-31)
  
  Editing the work flow messages, I'm looking for the field names preceded by $formValues.  
  More specific I would like to include a line displaying the origin of the contribution in the work flow message *"Contributions - Receipt (off-line)"*.  
  Where to find all the field names that can be used?
  
  **Tags:** contributions, system-workflow-messages
  
  > **Comments:**
  > **username_1**: Possible duplicate of [How can I see the available tokens for message templates?](https://civicrm.stackexchange.com/questions/813/how-can-i-see-the-available-tokens-for-message-templates)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-12-31. Score: 0
  
  Without knowing on what form you are exactly, there is bound to be something like contributionId or contributionID in your form.
  
  You can find the name in the $form object (try debugging the object for the specific name) and then use `$contributionId = $form->getVar('_contributionID')` to get the field and use it in your hook (assuming you are using a hook).
  
  > **Comments:**
  > **username_1**: This isn't a form but a system workflow message, so there's only Smarty available here.  
  > **username_2**: Okay, I was thrown in the wrong direction by the $formValues.  
  
  ---
  
  