0 id must match with id of current user $form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user $form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete $form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete $form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete $form["tabs"]['mailuser'] = array ( 'title' => "password_txt", 'width' => 100, 'template' => "templates/mail_user_password_edit.htm", 'fields' => array ( //################################# // Begin Datatable fields //################################# 'password' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'PASSWORD', 'validators' => array( 0 => array( 'type' => 'CUSTOM', 'class' => 'validate_password', 'function' => 'password_check', 'errmsg' => 'weak_password_txt' ) ), 'encryption' => 'CRYPT', 'default' => '', 'value' => '', 'width' => '30', 'maxlength' => '255' ), //################################# // END Datatable fields //################################# ) ); ?>