Basic JavaScript Form Validation Example

JavaScript can be added to input fields for validation. In this example, when you finish typing in a value to the input it will be validated.

Values Less Than 30 please :
Another Value Less Than 30 :