This commit is contained in:
@@ -18,7 +18,7 @@ namespace AyaNova.Biz
|
||||
//var OuterJson=JObject.Parse(formCustom.Template);
|
||||
var FormTemplate = JArray.Parse(formCustom.Template);
|
||||
// var FormTemplate=(JArray)OuterJson["template"];
|
||||
var FormFields = FormAvailableFields.FormFields(formCustom.FormKey);
|
||||
var FormFields = ObjectFields.FormFields(formCustom.FormKey);
|
||||
// var ThisFormNormalFieldsList = FormFields.Where(x => x.Custom == false).Select(x => x.Key).ToList();
|
||||
|
||||
foreach (JObject jo in FormTemplate)
|
||||
@@ -30,7 +30,7 @@ namespace AyaNova.Biz
|
||||
// - e.g.: {template:[{fld:"ltkeyfieldname",hide:"true/false",required:"true/false", type:"bool"},{fld:"ltkeyfieldname",hide:"true/false",required:"true/false", type:"text"]}
|
||||
|
||||
//get the FormField object
|
||||
FormField FF = FormFields.Where(x => x.Key == FldLtKey).Single();
|
||||
ObjectField FF = FormFields.Where(x => x.Key == FldLtKey).Single();
|
||||
if (!string.IsNullOrWhiteSpace(FF.PropertyName))
|
||||
{
|
||||
//Now get the actual property name from the available fields using the lt key
|
||||
|
||||
Reference in New Issue
Block a user