> For the complete documentation index, see [llms.txt](https://saba-framework.gitbook.io/saba-framework-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://saba-framework.gitbook.io/saba-framework-documentation/examples/dynamic-form/input-type/password.md).

# Password

1. Deskripsi :

Penggunaan tipe input ini untuk merender formulir atau input dalam aplikasi web. Tipe data dalam hal ini yaitu "password" untuk mendeskripsikan inputan pada field password yang nantinya akan disimpan dan dipakai user. Digunakan untuk menyimpan password atau ganti password baru. Biasanya tipe data password dilengkapi aturan untuk tidak boleh kosong (!=null). Seperti contoh inputan melalui form input:&#x20;

2. Implementasi JSON :&#x20;

```json
"dynamicForm": [
        {
              "fieldName": "old_password",
              "fieldLabel": "Old Password",
              "size": 4,
              "type": "password",
              "icon": "material:password",
              "hideOnPage": {
                "edit": false,
                "view": true
              },
              "rules": {
                "required": true,
                "requiredCondition": ["new_password!=null"]
              }
            }
]
```

2. Gambar capture contoh hasil Implementasi :&#x20;

Tampilan Form

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfsfUWfZTOVVfZTeRKevIzg6T8mVI_ZhGviq-peBtD5UVmwN0ys53CRPDqNIyMHh5wUhOBDJnFJPBJlx6H7aCZdbUNVY6Qc7d2M-PCxd7sun7jGRrCRIQ1qhX6eDjDqRr3-B3J63pRviYny3opsgBVUnafj?key=iTtmcYIDJeGp6uwkR6IObQ" alt=""><figcaption></figcaption></figure>

<br>
