Forms
Reviews0
PriceFree
Views893
Reviews0
PriceFree
Views1430
Reviews0
PriceFree
Views836
Reviews0
PriceFree
Views1053
Reviews0
PriceFree
Views6648
Reviews0
PriceFree
Views2190
Reviews0
PriceFree
Views4382
Reviews0
PriceFree
Views3721
Reviews0
PriceFree
Views4581
Reviews1
PriceFree
Views3424
Reviews0
PriceFree
Views2830
Reviews0
PriceFree
Views5504
Reviews0
PriceFree
Views4541
The target attribute
For various web scripts it is more convenient that user will see form executed in new window when he is pressing the submit button. Using JavaScript you can control the appearance of that window. change size, turn off navigation panel, hide manubar and so on. This technique is very helpful for poll and guestbook applications.
Reviews0
PriceFree
Views6173
Submit1ce
Got a submissions form that you keep getting multiple submissions from? I've found that in most cases its because people are impatient and click the submit button repeatedly until they get a response. The unfortunate result is that you receive multiple copies of the same form. This little bit of JavaScript disables the submit button as soon as it is clicked for the first time and prevents the user sending their form multiple times. Script now also changes the text on the button to 'Thanks' (this can be modified to suit)
Reviews0
PriceFree
Views4756
Text Box Characters Counter - IE, Opera, FireFox, Netscape & Safari
In forms when using text boxes or text areas with limited character length (usually needed for forms that submit data to a database) it is always a good idea to tell the user how many characters they have remaining. The following example shows how you can do this. This is a very simple and cute idea to help the user know exactly how many characters he can type further. Do these small add-ons to your forms and they will look really professional.
This snippet is cross browser compliant - tested in IE, Opera, FireFox, Netscape & Safari
Reviews1
PriceFree
Views9036
Resetting forms using an Image Button (IE4+ / NS4+)
In forms when using text boxes or text areas and check boxes you might need a reset button that is not the usual gray HTML button. For this you can use a small JavaScript function as given below. Note: This button will reset only text boxes,text areas and check boxes as list boxes and option buttons don't usually require resetting. After resetting the form the cursor will set the focus to the first field in the form.
Reviews0
PriceFree
Views4338
HTML Elements in Forms
A tutorial on how to script forms with JavaScript. Covers different event handlers for common form elements. This is an excerpt of "Beginning JavaScript" from Wrox Press.
Reviews0
PriceFree
Views7549
Confirming Forms with JavaScript
This tutorial shows you how to perform form-field validation and user interaction with a few lines of JavaScript.
Reviews0
PriceFree
Views9316
JavaScript Forms and Frames
This articles discusses two aspects of JavaScript: working with HTML forms and manipulating frames. It also present a simple but effective personalized greeting script and a script used for submitting and HTML form. Main topics covered: Personalized greetings, Submitting an HTML form using JavaScript, Input Validation, and Frames and JavaScript.
Reviews0
PriceFree
Views7696
