Hello guys it easy to find the tricky
Set values to form hidden properties by zend framework controller
$formData = $this->getRequest()->getPost();
// print_r($formData) all element value get and set your value which field you want
$formData['hiddenid']=1;//hidden field
$form->populate($formData);
Hope help you:)
Set values to form hidden properties by zend framework controller
$formData = $this->getRequest()->getPost();
// print_r($formData) all element value get and set your value which field you want
$formData['hiddenid']=1;//hidden field
$form->populate($formData);
Hope help you:)
No comments:
Post a Comment