PEAR HTML_QuickForm

May 15th, 2006

HTML_QuickForm - this is the package I’ve been looking for for the latest week :) It automates form management in PHP in a very nice manner. I’ve already tested a couple of third-party classes and they either contain bugs (and the project I intend to use it in is critical) or they don’t have the functions I need. I will test it (in particular, I was looking for such a package since I have a big project going on with lots of forms) and update this post with some experiences.

UPDATE: so, here comes some input.

QuickForm is easy to use and has all the functions I expected it to have. One possible bug/problem I found was that you can’t set the default value for a <select> using SetDefaults(…). Neither using indexes or the actual values works :( Other than that, everything is great: forms are constructed with a few lines of PHP, new validation rules are easy to add (one small disappointment was that it is impossible to provide a custom error message from within a validation rule), the form can be “frozen” and shown to the user. Another important thing is that the documentation is reasonably good for such a project (I never had to look at the source code, just dig deeeeep into the help file sometimes :) ).

I like the PEAR packages. Now that I’m pretty sure they work I think it’s worth to take the time to examine some of them. Particularly, these look nice to me: a progress bar, AJAX library (you can’t have enough of them! ;) )

Some plans & updates

May 9th, 2006

Google destroys the semantic web

April 4th, 2006

The Four Required Words contest positions

April 4th, 2006

IDN and filenames in Google Sweden

April 4th, 2006

Carcasherdotcom seocontest positions

April 3rd, 2006

The Four Required Words

April 2nd, 2006

Carcasherdotcom Seocontest

March 21st, 2006

Keyword density SEO test

March 18th, 2006

SEO test

March 17th, 2006