2
2
I want to validate landphone and mobile phone fields in my CI application. I have set validation rules as integer but user cannot enter values seperated by " - " . If i use "text" type, user can enter alphabets also.....how do i solve this issue....
2
3
For my framework I've written down this concept to solve the form validation problem. I want it to be as straightforward as possible for the framework user. Every Form (=object) has one or many FormElements (=objects). Every FormElement can have...
2010-01-11
33
8
I need a simple php library which can be used to easily pass rules and field names to, and then validation could be easily performed. There should also be an easy way to retrieve the errors. Any suggestions? ...
2009-04-10
5
5
Which solution is better, using the built in validation filter_var('email', FILTER_VALIDATE_EMAIL) or a custom function? Thanks! ...
2010-07-30
0
1
I am using codeigniter for my form validation. I have two select fields named parent_male and parent_female. I would like to have a validation callback to check both the parent_male and parent_female in my database to see if it exists. I alrea...
3
5
I'm trying to find a list of good validation libraries (phone, email, etc.) that are constantly being maintained. I use PHP and am open to libraries from frameworks, but if you recommend a library from a framework, please say whether it allows yo...
2010-09-14
40
7
Original Question Is there a well tested and preferably mature library out there for creating forms in PHP with both client side (this is where the jQuery comes in) and server side validation? Ideally the form would either be generated from PHP...
2011-03-19
1
2
I guess this is a standards question and not a specific coding question. I wanted to know if I needed to validate the HTML with something like W3C HTML Validation? If I send the DOCTYPE and META tags in the HTML email it doesn't render the HTML ...
9
5
Several years ago I developed a website for a wholesale company that wanted to keep its online catalog (and wholesale pricing) private. Short of manually reviewing each submitted application, I was really stuck on how to accurately accomplish thi...
2010-09-24
4
1
I have a vague understanding of nonces but have a little confusion. What is the correct response when nonce validation fails? Under what circumstances could nonce validation fail? what is the risk to genuine users? ...