JavaScript Inter-Field Validation - Example 2

Enter the number of T-shirts you want and press Send. The other fields will be calculated for you. The Number of T-Shirts field is checked to to sure that it is an integer.

Number of T-Shirts:
Price per Shirt:
Cost of Shirts:
5% Sales Tax:
Total Cost:

Press when done or Press to clear this form.

Source: View or Save this HTML file to obtain the scripts used to do this validation. The scripts are part of the file.

COMMENTS: