Welcome To Snipplr


Everyone's Recent Snippets Tagged form



1 ... 5 6 7 8 9
0 1570 posted 17 years ago by conspirator
How to style a submit button so it looks like text
2 2048 posted 17 years ago by Wardy
Use by inserting the following in the head. <script> $(document).ready(function() { $("input").toggleVal(); }); </script>
0 1683 posted 17 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 1691 posted 17 years ago by superdeluxesam
I always forget how to do this...
2 1661 posted 17 years ago by davidsword
this requires jquery.js, jquery.metadata.js, and jquery.validate,js
2 1495 posted 17 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 1242 posted 17 years ago by sulfurito
Allows to customize the search results page.
0 1190 posted 17 years ago by aleprieto
Makes Drupal Advanced Search form non collapsible and expanded by default.
0 1278 posted 17 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 1438 posted 17 years ago by dom111
2 1971 posted 17 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 1181 posted 17 years ago by jeppeb
Name the form what ever you like, but make sure that is reflected in the javascript.
0 5823 posted 17 years ago by jachin
0 1224 posted 17 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 1322 posted 17 years ago by will
3 1635 posted 18 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 979 posted 18 years ago by betacontinua
1 1667 posted 18 years ago by dhjapan
A list of blood types for an online form.
0 10089 posted 18 years ago by jonhenshaw
A drop down list of skin tone for an online form.
0 3429 posted 18 years ago by jonhenshaw
A drop down list of facial hair options for an online form.
0 2931 posted 18 years ago by jonhenshaw
A drop down list of hair color for an online form.
0 4015 posted 18 years ago by jonhenshaw
A drop down list of eye colors for an online form.
0 4138 posted 18 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 4592 posted 18 years ago by jonhenshaw
Drop down list for resident status for an online form.
0 2511 posted 18 years ago by jonhenshaw
A comprehensive list of countries for an online form.
16 11173 posted 18 years ago by jonhenshaw
1 ... 5 6 7 8 9