How to validate Area (square meters) from two inputs?

How to validate Area (square meters) from two inputs?

I posted to StackOverflow.com, if anyone gracious enough to take a look at my problem?


I have a simple working version at jsfiddle :  Validate Area

I have two inputs for width and height. One of the conditions require that I validate a range between 1 - 3000 millimetre for both the width and height. But I need to validate for actual square meter as well (width x height) to not exceed 4 square meters. (ie. 1.2m(w) x 3m(h) = 3.6m2)

Thanks!