Use HTML5 validation with Action fields.