Hello again Marina,
I am looking to set an alert that is based off of a minimum value for the "TotalCost".
I want to have the alert happen once the calculation happens for the TotalCost. If the TotalCost is less than 7,000 I want to have an alert pop up saying The Total Is Too Small and then have a function zero out the ap and mp fields. I have tried the alert function:
var ap = Tiggzi('AP').val(),
totalcost = Tiggzi('TotalCost'),
mp = Tiggzi('MP').val();
var apNumber = parseFloat(ap),
totalprice = parseFloat(totalcost),
mpNumber = parseFloat(mp);
if (totalpriceNumber < 7000) {
totals= "TooSmall"
}
alert("The Total Is Too Small);
But it is not working....