Password

Password field renders a text input with the unlock button. Uses the native input[type="password"]. Clicking the Unlock button will toggle the visibility of the entered value.

Example configuration

...
array(
    'title' => 'My password field title',
    'id' => 'password-option',
    'desc' => 'Short description for the field',
    'tab' => 'main',
    'type' => 'password',
),
...

This will produce the following

Params

Name

Type

Description

type

string

password (required)

id

string

Unique ID that will be used to retrieve the value (required)

tab

string

Specifies in which tab this option will be rendered

title

string

Shows a heading to the left of the field

desc

string

Shows a description text (can have HTML)

Last updated