php - zf2 repopulate form with filtered values -
I went from zf1 to zf2 a few weeks ago and when I am creating a form, I am confused. Is there any alternative that the form gets value from the form after filtered to be repatriated?
What do you want:
$ request = $ this - & Gt; GetRequest (); If ($ request-> ispost ()) {$ form-> SetData ($ request-> getPost ()); If ($ form-> isValid ()) {$ filteredData = $ form-> GetData (); }}
Comments
Post a Comment