Simple JavaScript form validation examples.