Skip to main content

Password

Supported products
  • Central CMS
  • Central Forms
  • Central Connect

Generates a password input field.

Basic usage​

{{
form.password({
'label': 'My label',
'id': 'password-1',
'name': 'password-1'
})
}}

Helper options​

You can configure this helper using the common helper options. The following options are specific to this helper.

OptionTypeDescription
appendstringText or markup to include after the input element
append_typestringUse only when appending a button. button is the only valid value
prependstringText or markup to include before the input element
prepend_typestringUse only when prepending a button. button is the only valid value
readonlyboolAdds readonly attribute and uses a dashed outline to indicate lack of interaction