Welcome To Snipplr


Everyone's Recent Snippets Tagged form



0 733 posted 15 years ago by conspirator
How to style a submit button so it looks like text
2 875 posted 15 years ago by Wardy
Use by inserting the following in the head. <script> $(document).ready(function() { $("input").toggleVal(); }); </script>
0 885 posted 15 years ago by davebowker
This snippet creates a basic input and label combo for an html form. Has tab stops at relevant places for adding for, id and name attritbutes
2 741 posted 15 years ago by superdeluxesam
I always forget how to do this...
2 645 posted 15 years ago by davidsword
this requires jquery.js, jquery.metadata.js, and jquery.validate,js
2 704 posted 15 years ago by bcalloway
Para validar si son dígitos, letras, números enteros o decimales (se puede seleccionar el separador de decimales). La función esDigito() y esLetra() está basada en otros códigos de Snipplr
1 529 posted 15 years ago by sulfurito
Allows to customize the search results page.
0 507 posted 15 years ago by aleprieto
Makes Drupal Advanced Search form non collapsible and expanded by default.
0 535 posted 15 years ago by aleprieto
Requires Mootools 1.2<br/> http://mootools.net/download Based on the mootools javascript framework a re-usable class for easily implementing an array of on submit events. * Confirmation - Provides an Ok, Cancel input box before proceeding furt...
1 581 posted 15 years ago by dom111
2 832 posted 15 years ago by fredaudet
When there's a value in a textbox, like 'search', it disappears when you click on it, and reappears when you leave (blur) it. But only if you haven't filled in anything ofcourse. Use it like this:
1 490 posted 15 years ago by jeppeb
Name the form what ever you like, but make sure that is reflected in the javascript.
0 4384 posted 16 years ago by jachin
0 569 posted 16 years ago by wfdev
Makes the form field background yellow and the border red when it is the active field. Works in most browsers except the usual lame ones (IE5.5 & 6).
1 596 posted 16 years ago by will
3 642 posted 16 years ago by picale
Para realizar validaciones en Javascript rápidamente. Requiere que en la etiqueta metamos un onSubmit="return checkform(this);" . Este trozo de código es para dos campos input con nombres campo1 y campo2.
0 427 posted 16 years ago by betacontinua
1 683 posted 16 years ago by dhjapan
A list of blood types for an online form.
0 7059 posted 16 years ago by jonhenshaw
A drop down list of skin tone for an online form.
0 1379 posted 16 years ago by jonhenshaw
A drop down list of facial hair options for an online form.
0 979 posted 16 years ago by jonhenshaw
A drop down list of hair color for an online form.
0 1834 posted 16 years ago by jonhenshaw
A drop down list of eye colors for an online form.
0 1986 posted 16 years ago by jonhenshaw
This is a list of the fifty most commonly spoken languages in the United States of America. The list can be used in an online form.
0 2215 posted 16 years ago by jonhenshaw
Drop down list for resident status for an online form.
0 1288 posted 16 years ago by jonhenshaw
A comprehensive list of countries for an online form.
16 4622 posted 16 years ago by jonhenshaw