Welcome To Snipplr
Everyone's Recent Snippets Tagged validation
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Within your view, you place something like:
<?=>session->flashdata('feedback') ?>
0
682
posted 13 years ago by screon
When submitting a bizform in Kentico it has some crappy default message. Change them in this file.
0
927
posted 13 years ago by inreflection7
Ridiculously comprehensive date validation regex - matches dd/mm/yyyy or dd/mm/yy.
Also correctly matches number of days in months. ie. it won't match 30th Feb...
0
1051
posted 13 years ago by shodan_uk
Often you supply a default value in a text field which you want to automatically clear when the user enters the field. This will do that operation and fill the field with a default value.
0
875
posted 13 years ago by jimbo
This tiny jQuery plug in forces a user to enter only numeric values on an input field by silently removing non-numeric values as they're entered. (Caution: Never rely on client-side validation; use server-side validation as well)
2
1253
posted 14 years ago by BrunoDeBarros
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
1
1128
posted 14 years ago by Activetuts
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
1
958
posted 14 years ago by Activetuts
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
0
1000
posted 14 years ago by Activetuts
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
1
960
posted 14 years ago by Activetuts
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
1
1164
posted 14 years ago by Activetuts