# Wicket Password Field

**URL:** <https://forum.inductiveautomation.com/t/wicket-password-field/25340>\
**Category:** Module Development\
**Created:** [May 27, 2019, 4:37pm UTC](https://forum.inductiveautomation.com/t/wicket-password-field/25340 "2019-05-27T16:37:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cody.tamaki](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Post date:** [May 27, 2019, 4:37pm UTC](https://forum.inductiveautomation.com/t/wicket-password-field/25340/1 "2019-05-27T16:37:46Z")

</div>

Using the RecordEditForm class, how do I add a password field instead of showing plain text?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 27, 2019, 5:04pm UTC](https://forum.inductiveautomation.com/t/wicket-password-field/25340/2 "2019-05-27T17:04:10Z")

</div>

In the `PersistentRecord` the form is modeling you set the editor source for the column:

```auto
static {
    PASSWORD.getFormMeta().setEditorSource(PasswordEditorSource.getSharedInstance());
}

```

where `PASSWORD` is a `StringField` or `EncodedStringField` of the record.
