Creating HTML forms can be a drag. Validating the form input is even worse. I wrote up a javascript utility to demonstrate how easy and enjoyable it could (should) be to create forms. Check out the demo. You create a form with:

new FormLess('form-container-element-id', items);

where items is an array of objects. Each item requires at least a name and a type, but could also take an array of options or a validation function that gets called to validate the value of that item.

Each time an item’s value changes, the validation function gets called for that item. If a validation function returns false, the item gets marked as invalid. Valid and invalid items can be styled however you please:

When the form is submitted, each item gets has its validation function called. If all validation functions pass, the submit function gets called along with a key-value object containing the items names and values. This tool has not been tested across browsers - it’s mostly a demonstration of how easy it should be to gather and handle user-entered data. Check out the demo

I feel this article is very good……. It’s not only interesting; it helps us readers to ponder on the subject. I m very impressed with your work, and I look forward for more of it…. Congratulations on your good work….

The style anostic scripts are really worked good and thank you for posting this scripts.

AllieJefferson Says:
May 11th, 2010 at 12:34 pmDeprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/narcvs/blog.narcvs.com/wp-includes/kses.php on line 932

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/narcvs/blog.narcvs.com/wp-includes/kses.php on line 933

I opine that to receive the http://www.lowest-rate-loans.com from creditors you should have a good reason. However, one time I’ve received a auto loan, because I was willing to buy a house.