Happy Coding

Today we will learn a simple thing in CakePHP
i.e. how to create a readonly textbox in CakePHP

You can create readonly textbox in CakePHP using following code

echo $this->Form->text('complexity', array('readonly' => 'readonly'));

Or using following code

echo $this->Form->input('complexity', array('type' => 'text',
'readonly' => 'readonly'));
How to create Read-Only textbox in CakePHP UG Programming
Happy Coding Today we will learn a simple thing in CakePHP i.e. how to create a readonly textbox in CakePHP You can create readonly textbox in CakePHP using following code echo $this->Form->text('complexity', array('readonly' => 'readonly')); Or using following code echo $this->Form->input('complexity', array('type' => 'text', 'readonly' => 'readonly'));
Happy Coding Today we will learn a simple thing in CakePHP i.e. how to create a readonly textbox in CakePHP You can create readonly textbox in CakePHP using following code <pre class="lang:php decode:true">echo $this->Form->text('complexity', array('readonly' => 'readonly'));</pre> Or using following code <code></code> <pre class="lang:php decode:true crayon-selected">echo $this->Form->input('complexity', array('type' => 'text', 'readonly' => 'readonly'));</pre>