colap Posted February 26, 2011 Share Posted February 26, 2011 Suppose a dropdown list is added with a Zend form. I added value with Zend_Form_Element_Select("name") as associative array. Now how can i take/store/save the value of that dropdown list ? In controller there is action to check $form->getRequest()->isPost(){..} Quote Link to comment https://forums.phpfreaks.com/topic/228897-how-can-i-takestore-value-from-a-dropdown-list-in-zend-framework/ Share on other sites More sharing options...
shlumph Posted March 9, 2011 Share Posted March 9, 2011 In the controller you can access it via $this->getRequest()->getPost('name'); Quote Link to comment https://forums.phpfreaks.com/topic/228897-how-can-i-takestore-value-from-a-dropdown-list-in-zend-framework/#findComment-1185029 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.