BeFruit

Wednesday, July 4, 2007

Form'n'Field jQuery plug-in published

After long nights of fine tuning and restructuring, the first public version of the Form'n'Field plug-in for jQuery is available.

It helps JavaScript developers to handle client-side forms by giving access to field values in real types and not only strings as returned by DHTML. Why should the value of a checkbox be a string? Isn't it more natural that it is a boolean?

The same applies to listboxes. I often generate listboxes when item names are labels and item values are IDs from by database. Why would I have to convert those IDs from and to strings? I want them to be integers, and that's what the Form'n'Field plug-in does.
But what is the most advanced feature about this plug-in is how extensible it is. You can add your own input type (like a date input with pop-up calendar) easily. Or your complex data type (a JavaScript structure) can be associated with any existing input and handle type conversion and validation.

This plug-in is currently in production in my organization, and I hope that people will understand its value and constructively participate in its development.

Labels: ,

2 Comments:

Post a Comment



<$I18N$LinksToThisPost>:

Create a Link

<< Home