Disabling input elements in a CakePHP form that uses Security component and jQuery
I have a form in CakePHP that has two live-search text input. Each one of them updates the value of a hidden field when the user selects a result. The model is called Record , and the attributes involved are budget_id program_id concept_id I have created a form using the FormHelper in this way: ... <?php echo $this->Form->create('Record') ?> <h1>Create a record</h1> <?php echo $this->Form->hidden('Record.budget_id', array('value' => $budget['Budget']['id'])) ?> <?php echo $this->Form->hidden('Record.program_id') ?> <?php echo $this->Form->input('Record.program_id_search', array(...)) ?> <?php