I released a first version of a lightweight PHP form API today, open source. You can download the code, it works but it’s just a first step (doesn’t even do all possible formfields, and still has lotsa hardcoded stuff in it).
I was always a hater of these form api’s, but I’ve finally clicked, and when you’re coding a website with lotsa forms, this should come in handy. It’s totally focused on being easy to program for, since I’m a lazy programmer, so the form definition is in YAML format, it writes like English almost. Define the form structure, define a function that should be called upon submit, and you’re done.
Let me know what you think!