Validation in FC (330 Views)
Reply
Regular Advisor
Posts: 123
Registered: ‎08-01-2011
Message 1 of 7 (330 Views)

Validation in FC

Hi,

 

I am doing the validation for greater than 60 it should validate , i am doing in FC validation

 

Validation : $min<60 and $min>=0

Update : not null($min)

Set Focus to : $min

Message : Please enter "mins" value 0 to 60

 

Here when i enter the specific number 7,8,9  it was not validating only for these numbers

 

min= 7     // it is not accepting and getting error message

min=8     // it is not accepting and getting error message

min=9     //  it is not accepting and getting error message

min=23   // it was accepting

min=88   //validating and getting error message

 

Please help me

Honored Contributor
Posts: 4,458
Registered: ‎06-17-2010
Message 2 of 7 (319 Views)

Re: Validation in FC

This is weird, check if any other validation is put in any of the other form fc.
____________________________________
Assign Kudo, if found post useful and mark it accepted if solves the issue.
Regular Advisor
Posts: 123
Registered: ‎08-01-2011
Message 3 of 7 (315 Views)

Re: Validation in FC

Hi Piku,

I checked all are getting the same, when i enter the 7,8,9 value
Honored Contributor
Posts: 4,458
Registered: ‎06-17-2010
Message 4 of 7 (313 Views)

Re: Validation in FC

logic is correct, how it is possible that validation fails only on 7,8 and 9.
Did you checked for other values too.

hth,
____________________________________
Assign Kudo, if found post useful and mark it accepted if solves the issue.
Regular Advisor
Posts: 123
Registered: ‎08-01-2011
Message 5 of 7 (309 Views)

Re: Validation in FC

Hi Piku,

 

Ya i was working correctly for the other numbers between 0 to 6 and 10 to 59 it was good

 

But only 7,8,9

Honored Contributor
Posts: 4,458
Registered: ‎06-17-2010
Message 6 of 7 (304 Views)

Re: Validation in FC

did you checked other fc ?
____________________________________
Assign Kudo, if found post useful and mark it accepted if solves the issue.
Regular Advisor
Posts: 123
Registered: ‎08-01-2011
Message 7 of 7 (281 Views)

Re: Validation in FC

other fc also getting the same... I dont understand why?
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.