[thelist] else?

David Lindblad fluidcom at cogeco.ca
Sun Feb 18 22:07:59 CST 2007

Can anyone provided direction as how to end/correct this script, if a  
value of 4 or greater is entered I want to leave everything as is,  
anything less than four I require the message, as per script below,  
and the field entry to revert to empty.

var a = this.getField("quantity.0");

if (a.value <= 3);
app.alert("A minimum quantity of 4 is required", 4);


Any advice would be greatly appreciated.


More information about the thelist mailing list