tags:

views:

92

answers:

4

I'm looking for best framework in order to generate and validate forms in php. I would really like it to be based on smarty too.

Any suggestions?

+2  A: 

Take a look at the form subframework that was built for symfony : link text

It's a part of the symfony framework but it is reported to be usable on its own. This framework can do both generation and validation.

The thing is that you need to master OOP in php...

bPizzi
+1  A: 

Most frameworks have robust solutions for forms (filtering, validation, processing). For instance, Zend Framework has Zend_Form and related clases which offer a very powerful way to create and manage HTML forms. It's easy to create multipage forms with Zend_Form as well, too.

All other frameworks also offer some solution forms as it's quite a major part of web development.

Richard Knop
+1  A: 

Have a look at:

Clonefish

Clonefish is the easiest way of PHP form generation and PHP form validation: it's a proven form generator and JS+PHP validator class we really believe in and also use every single day.

Sarfraz
A: 

I think that Zend is the best choice. At least most of php form generators use it, as I know