Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Validation i want to set value not = to a particular value
  • i wnt to set validation such a way that it is not equal to value consider = 0 
    wht to achive this with which rule
     
  • 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.
  • 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..
  • 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]".
  • 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.
  • HarroHarro
    Accepted Answer
    the same as what?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion