title: Solved! Handlebars: Access has been denied to resolve the property "name" because it is not an "own property" of its parent Fixed
body: <p>I am trying to get the entered details by the user in the form fields so that I can edit and update the selected records. But, when I click the edit button I am getting blank form fields in the form.</p>
  <pre class="lang-js prettyprint-override"><code>router.get('/list', (req, res) =&gt; {
      Employee.find((err, docs) =&gt; {
          if (!err) {
              res.render(&quot;employee/list&quot;, {
                  list: docs,
              });
          }
          else {
              console.log('Error in retrieving employee list :' + err);
          }
      }); 
  })
  </code></pre>
  <p>I am not able to get what went wrong. I have passed the user entered value as <code>req.body</code>. All the operations are working properly but could not update the records as I am not able to get the user id from the form.</p>
  <pre class="lang-html prettyprint-override"><code>&lt;tbody&gt;
      {{#each list}}
      &lt;tr&gt;
          &lt;td&gt;{{this.name}}&lt;/td&gt;
          &lt;td&gt;{{this.email}}&lt;/td&gt;
          &lt;td&gt;{{this.mobile}}&lt;/td&gt;
          &lt;td&gt;{{this.city}}&lt;/td&gt;
          &lt;td&gt;
              &lt;a href=&quot;/employee/{{this._id}}&quot;&gt;&lt;i class=&quot;fa fa-pencil fa-lg&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&lt;/a&gt;
              &lt;a href=&quot;/employee/delete/{{this._id}}&quot; onclick=&quot;return confirm('Are you sure to delete this record ?');&quot;&gt;&lt;i class=&quot;fa fa-trash fa-lg&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&lt;/a&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      {{/each}}
  &lt;/tbody&gt;
  </code></pre>