Welcome to the Cookbook

loading...

7.3.5.15 password

There is no translation yet for this section. Please help out and translate this.. More information about translations

password(string $fieldName, array $options)

Creates a password field.

<?php
echo $form->password('password');
?>
  1. <?php
  2. echo $form->password('password');
  3. ?>

Will output:

<input name="data[User][password]" value="" id="UserPassword" type="password">