Questions tagged with input

1 answer

0 votes

Asked by marcusj, on 11/11/09 in

FormHelper ignores 'class' attribute for hidden fields

When I try to pass a class attribute to a hidden field, FormHelper ignores that. My code:


<?php echo($form->input('Foo.bar', array('type' => 'hidden', 'class' => 'baz')); ?>

FormHelper::input() calls[1] FormHelper::hidden() where name and class...

2 answers

0 votes

Asked by , on 20/1/10 in

Custom Functions / Arguments in Form Helper

I'm hoping to be able to do something like this:

echo $form-input('name', array('customAttribute' = true));

echo $form-input('password', array('description' = 'Must be at least 8 chrs long, contain a number and symbol'));

The idea is to be able to...

1 answer

0 votes

Asked by blacksymmetry, on 8/2/10 in

Hashing input values from form.

Hello,

I validating form input password:

but values doesnt matching:

I think, that password_confirm is hashed , and password value not.

How could i hashed password value from input?

Thanks for any reply..


  'password' => array(
            'empty' =>...
<< previous next >>