This JavaScript is a "Word Filter". It is a type of form validator. When the user submits some text, the validator will check the text for words that has to be filtered. The words that have to be filtered must be added to the array swear_words_arr. When the user types the text and hits the submit button, if the text contains any word that is present in the array swear_words_arr, the form will not be submitted. The script can be used for validation of swear words etc.
100% Client Side JavaScript Sortable Grid Control. This control supports form elements within the grid and is capable of sorting on form element changes. Works in NS 6.2 and above and IE 5.0 and above. Easy to customize for your web site.
Is the user pressing the "Enter" key in the middle of your form causing inadvertent and incomplete form submissions? This script disable the "Enter" key when pressed inside chosen fields of your choice. Moreover, it then advances the cursor to the next field within the form.
The Dynamic Form script illustrates how you can create forms that can be expanded as users add items. DHTML is used to dynamically generate content and update the page.
Fill in a text field in a form and this JavaScript changes the value of another specified text field. The other text field value is then locked to that value.