Having done this before (ASP not PHP) I will state that all that VGR mentioned and more crop up.
Point in fact, I think it was a very useful idea, and an excellent teaching tơl. I practice in a medium enterprise, we found ourselves constantly having to refine the class as more and more complexity ensued. While okay for simple straightforward forms, the class just became so complex it was too bothersome.
Over time it became easier to generate the data access methods and form data handling methods using some simpler methods and breaking free of the form class.
Having said that, there is some existing work in this area you could use to lessen your leaning curve and maybe learn from others.
http://exorsus.net/software/ Scroll down to the form classs
http://www.phpclasses.org/browse/package/1061.htmlFor mapping form data to fields we used a field definition table.
We also had a number of hooks within the class to outside user functions to perform any logic prior to storing the data, etc.
The developers came to dislike having the field definitions stored in the table rather than in the server side code, as it was more trouble to lơk things up.