This commit is contained in:
@@ -32,7 +32,7 @@ namespace AyaNova.Biz
|
||||
if (ThisFormCustomFieldsList.Contains(fldKey) && fldRequired == true)
|
||||
{
|
||||
//Ok, this field is required but custom fields are all empty so add this error
|
||||
biz.AddError(ValidationErrorType.RequiredPropertyEmpty, fldKey);
|
||||
biz.AddError(ValidationErrorType.CustomRequiredPropertyEmpty, fldKey);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace AyaNova.Biz
|
||||
var fldRequired = jo["required"].Value<bool>();
|
||||
if (fldRequired && string.IsNullOrWhiteSpace(CurrentValue))
|
||||
{
|
||||
biz.AddError(ValidationErrorType.RequiredPropertyEmpty, iFldKey);
|
||||
biz.AddError(ValidationErrorType.CustomRequiredPropertyEmpty, iFldKey);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user