I would like to know if anyone has a simple HTML code for validating input "Text" values so that form will either not accept any non integer, non positive, non numeric value. I am open to suggestions for look-up tables but as the numeric quantity value could be 1-1000 it would make them unwieldy, similarly knocking back the order form (which could have multiple line orders) because one of the values does not fit works but is tiresome. Would prefer answer to be JAVA driven as I am building a WEB hosted E Shop which will work on and off the WEB and just use the WEB to submit/authenticate orders.