Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP form creation library?

Tags:

forms

php

I've been looking for a good form generation library after attempting to create my own (And doing so, but not as well as I would like). So far I've found ValidForm Builder, but the fact that it hasn't been updated for close to 2 years, and still has several issues makes me weary.

So I'm hoping someone here has had luck with a form creation / generator library / class. Just a basic class that takes all of the html out of the picture for the programmer, and produces standardized html. Javascript form validation would be nice, but is by no means a requirement.

like image 914
Jon Avatar asked Jan 27 '26 16:01

Jon


1 Answers

I write a lot of forms, and I live and die by Zend Form, a component of the Zend Framework. The Zend Form Quickstart documentation is a great place to get started.

Fair warning: Zend Form doesn't meet all of your requirements. It does produce valid HTML so you don't have to, but it's about the farthest thing from "Just a basic class . . .". I'm a big fan, but the learning curve can be steep.

like image 185
Jeremy Kendall Avatar answered Jan 29 '26 08:01

Jeremy Kendall



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!