This commit is contained in:
2020-02-27 19:48:43 +00:00
parent 5b0ce90157
commit 79b94b4ac2
5 changed files with 88 additions and 78 deletions

View File

@@ -285,7 +285,7 @@ namespace AyaNova.Biz
}
//Any form customizations to validate?
var FormCustomization = await ct.FormCustom.AsNoTracking().SingleOrDefaultAsync(x => x.FormKey == AyaFormFieldDefinitions.WIDGET_KEY);
var FormCustomization = await ct.FormCustom.AsNoTracking().SingleOrDefaultAsync(x => x.FormKey == AyaType.Widget.ToString());
if (FormCustomization != null)
{
//Yeppers, do the validation, there are two, the custom fields and the regular fields that might be set to required