Validation script tweaks and future-friendly class.form tweaks for input elements