GregL83 Posted July 26, 2010 Share Posted July 26, 2010 Hello, I was under the impression that zend form filters would not only filter the input for validation but also the returned values. When I call $request->getPost() to get the params they are not filtered but when the form returns an error and re-displays the input values in the form they are filtered. I'm trying to do a simple test. Basically, StringToLower on a simple input txt field. Question: How do I get the input values filtered for database insertion? Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/208961-zend-form-filters/ Share on other sites More sharing options...
GregL83 Posted July 26, 2010 Author Share Posted July 26, 2010 DUH! Simply use the form object to retrieve the values instead of the request object. $form->getValues(); Link to comment https://forums.phpfreaks.com/topic/208961-zend-form-filters/#findComment-1091470 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.