protected override Boolean isInputFieldsValid() { if (_inputTxtStorageName.isEmpty()) { return(_inputTxtStorageName.TextError("Please enter storage name")); } else if (_inputTxtVendorName.isEmpty()) { return(_inputTxtVendorName.TextError("Please enter vendor name")); } else if (_inputTxtDescription.isEmpty()) { return(_inputTxtDescription.TextError("Please enter description")); } else if (!string.IsNullOrWhiteSpace(_inputTxtPricePerUnit.TextValue) && !Tools.isNumeric(_inputTxtPricePerUnit.TextValue)) { return(_inputTxtPricePerUnit.TextError("Invalid Buy Price Per Unit")); } else if (!string.IsNullOrWhiteSpace(_inputTxtSellPricePerUnit.TextValue) && !Tools.isNumeric(_inputTxtSellPricePerUnit.TextValue)) { return(_inputTxtSellPricePerUnit.TextError("Invalid Sell Price Per Unit")); } return(true); }