This commit is contained in:
2020-01-14 22:58:49 +00:00
parent 16edc83450
commit 596a9adeb9
2 changed files with 5 additions and 2 deletions

View File

@@ -31,7 +31,10 @@ namespace AyaNova.Biz
//get the FormField object
ObjectField FF = FormFields.Where(x => x.Key == FldLtKey).Single();
if (!string.IsNullOrWhiteSpace(FF.PropertyName))
//don't validate custom fields, just skip them
// if (!string.IsNullOrWhiteSpace(FF.PropertyName))//this used to work because there would be no property name but now there is so it doesn't
if (!FF.Custom)
{
//Now get the actual property name from the available fields using the lt key
string RequiredPropertyName = FF.PropertyName;