Tag Archives: forms

o3ProtectedInput.js — JQuery Plugin to Protect Inputs

Today we are releasing a JQuery plugin we have written under an open source license (MIT). It is a small plugin that makes an input harder to edit. Although this may seem counter productive, it is acctually quite useful for … Continue reading

Posted in JavaScript, jQuery, Plugin, Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Jquery Validation Plugin with multiple forms

I love using the Jquery Validation plugin on my html forms. It makes frontend validation very easy and painless. However, today I noticed a strange problem, when I was pressing the submit button on a form, it was requiring fields … Continue reading

Posted in Html, JavaScript, jQuery, Plugin | Tagged , , , , | Leave a comment

JQuery and Ajax Forms Plugin

Writing JavaScript to handle ajax form submission can be a pain. Not only is it a lot of coding, but it often means you have to write forms using different html than you would use for a normal form. This … Continue reading

Posted in JavaScript, jQuery, Plugin, Uncategorized | Tagged , , , | Leave a comment

AjaxForm and Validation Plugins for Jquery

Two of my favorite jQuery plugins are the AjaxForm and the Validation plugins. The AjaxForm plugin allows you to very easily convert a normal html form into an ajax form while the validation plugin offers easy javascript side validation of … Continue reading

Posted in JavaScript, jQuery, Plugin | Tagged , , , , , , | Leave a comment

HTML 5 and Required Inputs

Another promising (and partially implemented) feature of HTML 5 is required fields. Firefox 6 already lets you take advantage of this attribute. The required attribute forces users to fill out a field before allowing them to submit a form. If … Continue reading

Posted in Html | Tagged , , , , , | Leave a comment

HTML and Limiting Character in a Textarea

By adding the attribute maxlength=”23″ you can limit the field to 23 characters. The browser won’t allow the user to enter anything longer than the number you specify. For those of you with recent versions of Firefox or Chrome, you … Continue reading

Posted in Html | Tagged , , , , , | 2 Comments

Symfony and Embedded Forms

Symfony has a nifty feature which allows you to embed one sfForm inside another. However, there is a bit of a quirk involving default values and embed forms. The following will not work if you are embedding a form: Thankfully, … Continue reading

Posted in Symfony | Tagged , , | Leave a comment