This commit is contained in:
@@ -96,7 +96,7 @@ namespace AyaNova.Biz
|
||||
}
|
||||
|
||||
//If it doesn't exist, vet the form key name is ok by checking with this list
|
||||
if (!ObjectFields.AvailableObjectKeys.Contains(formKey))
|
||||
if (!AyaObjectFields.AvailableObjectKeys.Contains(formKey))
|
||||
{
|
||||
//Nope, whatever it is, it's not valid
|
||||
return null;
|
||||
@@ -165,7 +165,7 @@ namespace AyaNova.Biz
|
||||
AddError(ApiErrorCode.VALIDATION_REQUIRED, "FormKey");
|
||||
else
|
||||
{
|
||||
if (!ObjectFields.IsValidObjectKey(inObj.FormKey))
|
||||
if (!AyaObjectFields.IsValidObjectKey(inObj.FormKey))
|
||||
{
|
||||
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "FormKey");
|
||||
}
|
||||
@@ -192,7 +192,7 @@ namespace AyaNova.Biz
|
||||
if ((!PropertyHasErrors("FormKey") && !string.IsNullOrWhiteSpace(inObj.Template)))
|
||||
{
|
||||
var ValidCustomFieldTypes = CustomFieldType.ValidCustomFieldTypes;
|
||||
var ValidFormFields = ObjectFields.ObjectFieldsList(inObj.FormKey);
|
||||
var ValidFormFields = AyaObjectFields.ObjectFieldsList(inObj.FormKey);
|
||||
try
|
||||
{
|
||||
//Parse the json, expecting something like this:
|
||||
@@ -206,7 +206,7 @@ namespace AyaNova.Biz
|
||||
|
||||
for (int i = 0; i < v.Count; i++)
|
||||
{
|
||||
ObjectField MasterFormField = null;
|
||||
AyaField MasterFormField = null;
|
||||
|
||||
var formFieldItem = v[i];
|
||||
if (formFieldItem["fld"] == null)
|
||||
|
||||
Reference in New Issue
Block a user