I’m used to ASPNET and Django’s methods of doing forms: nice object-orientated handlers, where you can specify regexes for validation and do everything in a very simple way.
After months living happily without it, I’ve had to come back to PHP for a project and noticed that everything I used to do with PHP forms (manual output, manual validation, extreme pain) was utter rubbish.
Is there a nice, simple and free class that does form generation and validation like it should be done?
Clonefish has the right idea, but it’s way off on the price tag.
The simplest solution (rather than going through the process of learning another framework) turned out to be just writing the forms and their processing code in Django and pulling their output into the PHP using CURL.
FILTHY but it was quick, has all the power of Django and it works.