Link to home
Start Free TrialLog in
Avatar of Seven price
Seven priceFlag for United States of America

asked on

angularjs numeric validation less than

trying to validate  if net return for a period is > gross return
if net is greater want to highlight the textbox or show error message.

http://jsfiddle.net/L2k0vv57/
SOLUTION
Avatar of Gregg
Gregg
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Nice solution Codrut; I vote for that one.
Thanks. I'm glad it's helpful.
Avatar of Seven price

ASKER

Where you defining rows from.
there is no for loop.
get error. rows not defined.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Never mind the last dum quesiton I ask. The problem is there are 3 rows and it highlights all 3. Just need 2 net and gross not bench
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
tks. much appreciated.