Resolved a problem with Flavors, added HTML validation to that form