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);