From 866eed397e8f34cd712e7440adfa4e9f4ddefdd3 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 29 Apr 2020 00:51:59 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index 23cf982..1eb5420 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -763,7 +763,7 @@ namespace AyaNova.PlugIn.V8 dynamic dt = new JObject(); dt.fld = RavenCustomTranslationKeyObjectName + "Custom" + n.ToString(); dt.hide = false; - dt.required = true; + dt.required = false; switch (f.FieldType) { case FormFieldDataTypes.Currency: @@ -800,6 +800,8 @@ namespace AyaNova.PlugIn.V8 if (!bAtLeastOneFieldIsVisible) return ret; + d.template = dtemplate.ToString(); + //ok, were here because there *are* custom fields available var a = await util.GetAsync("FormCustom/" + RavenCustomTranslationKeyObjectName); var ctoken = util.CTokenFromResponse(a);