I have:
echo $this->Form->input('username', array('label' => 'Username: '));
equivalent to in traditional php coding..
how can I get the value inputted in that textbox like when you do $val = $_POST[‘username’]; in traditional php coding.
I need this for login validation. thanks
You can get it
Where “ModelName” is your currently assigned model to form.
Update: