is it possible to change the name of a input field in cakephp? I tried with virtual fields, but it does shows the original column name from database.
can someone help me with this?
is it possible to change the name of a input field in cakephp? I tried with virtual fields, but it does shows the original column name from database.
can someone help me with this?
its pretty easy.. use it like this:
<?php echo $this->Form->input('theField', array( 'label'=>'Change the Text')); ?>
instead of this:
<?php echo $this->Form->input('theField'); ?>
i hope this helps! :)