add validation for Extension form