Add User
Form->create('User', array('type' => 'file', 'enctype' => 'multipart/form-data', 'id' => 'form_sample_3', 'class' => 'form-horizontal')); ?>
Employee Details
Form->input("User.name", array('label' => false, 'div' => false, 'class' => "form-control ")) ?>
Form->input("User.email", array('label' => false, 'div' => false, 'class' => "form-control")) ?>
Form->input("User.username", array('label' => false, 'div' => false, 'class' => "form-control ")) ?>
Form->input("User.password", array("id"=>'password','label' => false, 'div' => false, 'class' => "form-control required")) ?>
Form->input("User.cpassword", array('id'=>'cpassword','label' => false, 'type' => 'password', 'div' => false, 'class' => "form-control")) ?>
Form->input("User.phoneno", array('label' => false, 'div' => false, 'class' => "form-control number")) ?>
Form->input("User.picture", array('type' => 'file', 'label' => false, 'div' => false,'id' => 'propic', 'class' => "", 'onchange' => 'showimagepreview(this)')) ?>