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
1096
posted 14 years ago by screon
When submitting a bizform in Kentico it has some crappy default message. Change them in this file.
0
3246
posted 14 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
3512
posted 14 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
1320
posted 14 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
1863
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
1852
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
1674
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
1492
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
1677
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
2020
posted 14 years ago by Activetuts