# Password field is not contained in a form

**URL:** <https://forum.inductiveautomation.com/t/password-field-is-not-contained-in-a-form/40071>\
**Category:** Ignition\
**Tags:** perspective, ignition80\
**Created:** [October 27, 2020, 8:58pm UTC](https://forum.inductiveautomation.com/t/password-field-is-not-contained-in-a-form/40071 "2020-10-27T20:58:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [October 27, 2020, 8:58pm UTC](https://forum.inductiveautomation.com/t/password-field-is-not-contained-in-a-form/40071/1 "2020-10-27T20:58:17Z")

</div>

I created a user management view, very similar to the one in vision. I get an error in the console, Password field is not contained in a form. If I search this it looks like this is a warning based on Chrome. Any cause for concern on this? I’m not really worried if I followed best practice for web pages, just making sure I don’t have a security issue.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [October 27, 2020, 9:26pm UTC](https://forum.inductiveautomation.com/t/password-field-is-not-contained-in-a-form/40071/2 "2020-10-27T21:26:18Z")

</div>

It’s benign and not a security concern.

In order to force the password-type behavior users expect (masked characters, password reveal) we needed to make the input a password field. Chrome doesn’t like when `<input>` elements are not contained in `<form>` elements. An option available to us is to wrap the Password Field in a wrapper `<form>`, but then there are theming considerations which could come into play. We originally elected to leave the input as-is, rather then curtail theming of the component by users.

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [October 27, 2020, 9:59pm UTC](https://forum.inductiveautomation.com/t/password-field-is-not-contained-in-a-form/40071/3 "2020-10-27T21:59:52Z")

</div>

Thank you for the explanation.
