Looking a PHP library for creating and validating forms

I work with my own homemade framework and I want a library (classes) PHP 5 for generating form with validation and if possible with support ajax support HTML5.

I already did a search and found PFBC (PHP Form Builder Class) and HTML_QuickForm but it is obsolete.

Do you know of others?

I await your opinion.

Thank you

Both Symfony2 and Zend have decent form libraries.

Thank you, I tried to use both component (Zend and Symfony) but now it looks like he no longer standar
lone because it requires a lot of additional libraries and classes of Framework for to work.
Unless you have a way to tell me how I can for example use the component form and validation without using the Symfony framework.

Can’t give you a cookbook on using Symfony2 forms independently. You can keep an eye on the S2 forums. Couple of people seem to be working on it. Rendering the actual html output is done within the framework. That might be the most difficult part to figure out. Of course you can always consider wrapping your framework inside of Symfony2. I did that to my own framework.

PEAR Forms is not really obsolete. Might give it another look.