Answers.Body: <p>Assuming <code>completed</code> is an Entries field, and you want to test if a particular entry has been added to the currently logged in user's <code>completed</code> field, something like this'd work:</p>
  
  <pre><code>{% set isEntryCompleted = currentUser and entry.id in currentUser.completed.ids() %}
  
  {% if isEntryCompleted %}
      ...
  {% endif %}
  </code></pre>
  
  <p>The idea here is to first check if <code>currentUser</code> is set (it'll be <code>null</code> if the current user isn't logged in), and then pull an array of all selected entries' IDs with <code>currentUser.completed.ids()</code>. Finally you can use the <code>in</code> operator to check if a particular entry's ID is in that array.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-25T21:22:34.813Z
Answers.Text: So basically in this screen shot https://prnt.sc/kb1068 you can see the section name, Agree and Commit, then next to it has the amount of articles so in this case there's 5 in this section, on start of the section, it will be transparent / blank. As you start the bullets that are filled in are the completed tests, and the bullet that is outlined but not filled is the test you are currently on in the section.
Answers.UserDisplayName: Kevin Love
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-25T19:14:20.570Z
Answers.LastActivityDate: 2018-07-25T19:14:20.570Z
Answers.UserDisplayName: Mats Mikkel Rummelhoff
Body: <p>I have the user submitting to a function that adds entries to a field called completed. It basically adds entries to each user showing the admin who has completed what.</p>
  
  <p>I'm trying to figure out how to display a message on the front end that states if the user has completed the article. I need the message to stay on the front end for each entry that's been completed.</p>
  
Tags: <craft3><craft-pro>
Title: Display Backend User Entries on Front end
ThreadText: # Display Backend User Entries on Front end
  
  (Asked by: username_0 on 2018-07-25)
  
  I have the user submitting to a function that adds entries to a field called completed. It basically adds entries to each user showing the admin who has completed what.
  
  I'm trying to figure out how to display a message on the front end that states if the user has completed the article. I need the message to stay on the front end for each entry that's been completed.
  
  **Tags:** craft3, craft-pro
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-07-25. Score: 2 | Accepted answer
  
  Assuming `completed` is an Entries field, and you want to test if a particular entry has been added to the currently logged in user's `completed` field, something like this'd work:
  
  ```
  {% set isEntryCompleted = currentUser and entry.id in currentUser.completed.ids() %}
  
  {% if isEntryCompleted %}
      ...
  {% endif %}
  
  ```
  
  The idea here is to first check if `currentUser` is set (it'll be `null` if the current user isn't logged in), and then pull an array of all selected entries' IDs with `currentUser.completed.ids()`. Finally you can use the `in` operator to check if a particular entry's ID is in that array.
  
  > **Comments:**
  > **username_0**: So basically in this screen shot https://prnt.sc/kb1068 you can see the section name, Agree and Commit, then next to it has the amount of articles so in this case there's 5 in this section, on start of the section, it will be transparent / blank. As you start the bullets that are filled in are the completed tests, and the bullet that is outlined but not filled is the test you are currently on in the section.  
  
  ---
  
  