You can overrule any property in the $options
array, which is the second argument to the input()
method. So technically you could do:
echo $this->Form->input('Model.field', array(
'label' => false,
'div' => false,
'name' => false,
'maxlength' => 20,
'autocomplete' => 'off',
'class' => 'card-number stripe-sensitive'
));
But please be aware the dropping the name
attribute makes the entire field useless if you want to do anything with it's data in your controller/model, as the $this->data
array gets it's names from the name attribute of your input fields.