Welcome To Snipplr


Everyone's Recent Snippets Tagged form



1 ... 4 5 6 7 8 9 10
0 474 posted 14 years ago by Flocke
0 764 posted 14 years ago by Flocke
0 492 posted 14 years ago by Flocke
0 580 posted 14 years ago by Flocke
0 504 posted 14 years ago by Flocke
Suppose you have a login form and you want to send the form when user press enter on his keyboard and not only by clicking on the submit button. This can be achieved capturing a specific event when the user is typing. We have to capture the keypress...
1 956 posted 14 years ago by ginoplusio
Amazing form validator using the jQuery framework!
1 622 posted 14 years ago by jaff
0 654 posted 14 years ago by Monferno
This is the most simple example of a ComboBox created in AS3, based mostly on Adobe's example from http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7fa9.html Inside the zip file you will find two...
0 1490 posted 14 years ago by Winkyboy
Test controller for custom Form_validation class
0 511 posted 14 years ago by djenniex
the user sees the confirmation page immedeateley. this is helpful if the mail() function takes some time
0 687 posted 14 years ago by miebach
Paste this into your AS file to add focus and blur events to your text/form fields. If your field contains YOUR DEFAULT MESSAGE when focus is brought to it, it will erase itself, to be ready for text entry. If focus is lost while the field is complet...
0 759 posted 14 years ago by Winkyboy
The source below is the function from the website with the corrected regular expression found in the site's comments. This is a nigh-one-line function for validating a string as an email address.
4 1001 posted 14 years ago by Winkyboy
from http://www.w3schools.com/php/php_mail.asp
0 622 posted 14 years ago by rwczippy
0 648 posted 14 years ago by donatkinson
This snippet allows you to update multiple rows of a database using a single form in one easy click
0 1133 posted 14 years ago by daveismyname
I use this to activate basic forms for clients. Just make sure your form input names are named appropriately. Any inputs such as phone or fax that are separated into different inputs should have the same name.
1 756 posted 14 years ago by dmautz1
Summarised snippet of Natbat's article: http://natbat.net/2009/Jun/10/styling-buttons-as-links/ Any link that that initiates an action, rather than just changing a page should semantically be a form with a submit button not a l ink. However you ca...
3 1083 posted 14 years ago by PeteW
2 584 posted 14 years ago by PeteW
Usage: //any element window.onload = function(){ focusFirstInput(); } or // form elements under 'content-body' window.onload = function(){ focusFirstInput('content-body'); }
0 649 posted 14 years ago by neoprolog
Every now and then I need a form select list of all provinces and states... I figured I'm not the only one, so here you go, hope it helps!
1 1721 posted 14 years ago by ecardoza
0 497 posted 14 years ago by sixmedia
0 480 posted 14 years ago by sixmedia
1 ... 4 5 6 7 8 9 10