Forms
Creating a slick, animated Full Screen Search Form with CSS3 and JavaScript
posted byDynamic DriveinForms
The trend for search boxes these days has been bigger and bolder. This tutorial shows how to create a slick, well engineered full screen search form that works beautifully across all modern browsers and devices.
Reviews0
PriceFree
Views568
Creating a Suggestions Dropdown for your Search Input Boxes
This script uses iframe loading techniques to create a fast and reliable way of pulling suggestions for your input search boxes. The script consists of a js file that contains core functionality, a css file for styles, and two images which indicate the application's current state and provide additional functionality. The suggestions can be customized to be anything you want and instructions on how to do this are also included. Additional functionality includes matching whole phrases and capitalizing the suggestions on the dropdown.
Reviews0
PriceFree
Views755
Character count with JavaScript
This article demonstrates you how to count characters in an input field on your html page using simple JavaScript code.
Reviews0
PriceFree
Views498
Default Form Values with jQuery
Here's a useful jQuery snippet that clears the default values of form fields on focus and refills them if no text is entered. It uses the attribute called defaultValue which stores the original value of a form field.
Reviews0
PriceFree
Views713
Simple WYSIWYG Editor
Creating a WYSIWYG textbox for your website is actually quite simple.
Thanks to the html iframe component that contains the execCommand function, which enables us to access html tags in real time.
Reviews0
PriceFree
Views6263
Set Focus to First Available Form Control
Sometimes it is necessary to set the focus to the first available form control. The problem is that complex web pages can contain multiple forms and each form individually can contain hidden or disabled elements and controls that cannot accept focus. In this tutorial we will create a function which iterates through all forms until it finds the first available form control.
Reviews0
PriceFree
Views1804
JavaScript Form Validation
Any interactive web site has form input. If you run a validation of the user's form input before the form is submitted, there will be no wait time and redundant load on the server. "Bad data" are already filtered out when input is passed to the server-based program. It also allows to simplify server-based program. Client side form validation usually done with javascript. For the majority of your users, JavaScript form validation will save a lot of time up front.
Reviews0
PriceFree
Views3804
Javascript Text Box Characters Counter
Here you have an example of how you can display and limit the number of characters an user can insert into an input or a textarea field.
Reviews0
PriceFree
Views3278
Changing Select element content on the fly
This tutorial explains how to change a select element's content using JavaScript, from adding new options to modifying and deleting them. It also shows how to create a 2 level interdependent select list.
Reviews0
PriceFree
Views4166
How to pass values from one field to other fields using Javascript
One of the big questions people have is how they can pass values from fields to others fields.
Reviews1
PriceFree
Views3042
JavaScript Form object explanation
Complete listing of the Form object of JavaScript and its properties/methods. Also includes additional pages describing objects beneath Form, such as TEXTAREA, SELECT etc.
Reviews0
PriceFree
Views2369
Enabling/ disabling form elements using JavaScript
posted bywsabstractinForms
This tutorial shows you how to use JavaScript to dynamically enable and disable form elements, making the process of filling out forms more intuitive.
Reviews0
PriceFree
Views5147
Address Auto-Fill Ckeck Box
Javascript code that automatically fills in the address in all places needed on the page after just once entering it and selecting the check box.
Reviews0
PriceFree
Views4074
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
Views5583
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
Views4396
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
Views8505
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
Views3964
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
Views7192
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
Views8974
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
Views7342