laresistance2 — 2011-09-22T11:34:37-04:00 — #1
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.
ahundiak — 2011-09-22T20:37:41-04:00 — #2
Both Symfony2 and Zend have decent form libraries.
laresistance2 — 2011-09-29T18:37:57-04:00 — #3
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.
ahundiak — 2011-09-30T10:26:49-04:00 — #4
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.