This commit is contained in:
@@ -16,7 +16,9 @@ namespace AyaNova.Biz
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
||||||
var FormTemplate = JArray.Parse(formCustom.Template);
|
var OuterJson=JObject.Parse(formCustom.Template);
|
||||||
|
//var FormTemplate = JArray.Parse(formCustom.Template);
|
||||||
|
var FormTemplate=(JArray)OuterJson["template"];
|
||||||
var ThisFormCustomFieldsList = FormAvailableFields.FormFields(formCustom.FormKey).Where(x => x.Custom == true).Select(x => x.Key).ToList();
|
var ThisFormCustomFieldsList = FormAvailableFields.FormFields(formCustom.FormKey).Where(x => x.Custom == true).Select(x => x.Key).ToList();
|
||||||
|
|
||||||
//If the customFields string is empty then only validation is if any of the fields are required to be filled in
|
//If the customFields string is empty then only validation is if any of the fields are required to be filled in
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace AyaNova.Biz
|
|||||||
|
|
||||||
var OuterJson=JObject.Parse(formCustom.Template);
|
var OuterJson=JObject.Parse(formCustom.Template);
|
||||||
//var FormTemplate = JArray.Parse(formCustom.Template);
|
//var FormTemplate = JArray.Parse(formCustom.Template);
|
||||||
var FormTemplate=OuterJson["template"];
|
var FormTemplate=(JArray)OuterJson["template"];
|
||||||
var FormFields = FormAvailableFields.FormFields(formCustom.FormKey);
|
var FormFields = FormAvailableFields.FormFields(formCustom.FormKey);
|
||||||
// var ThisFormNormalFieldsList = FormFields.Where(x => x.Custom == false).Select(x => x.Key).ToList();
|
// var ThisFormNormalFieldsList = FormFields.Where(x => x.Custom == false).Select(x => x.Key).ToList();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user