Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
Validation i want to set value not = to a particular value
Gaurish
January 2014
i wnt to set validation such a way that it is not equal to value consider = 0
wht to achive this with which rule
Harro
January 2014
You mean you want to change the input to 0 if the input does not validate?
There is no standard / built-in rule for that, you will have to write your own.
Gaurish
January 2014
i want to set a rule to input box , such that the value insert is not equal to 0,
if i want to write it then how do i write it..
Harro
January 2014
Is this numeric input? Integer or float?
If you want to just check for numeric, and > 0, simply use "required|is_numeric|numeric_min[1]".
Gaurish
January 2014
is their any validation to check wheather the use add the same email address, is their any validation to check the smae email address is enter.
Harro
January 2014
Accepted Answer
the same as what?
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,089
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
261
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Gaurish
January 2014
Harro
January 2014