/*
This file contains the validations for fields edited in eZones.
*/
##local.define(StringMetaField)
##if info.IsEqual(Amending,1)
##else
##if meta.notempty(##local.Path) ##meta.Data(##local.Path) ##else - ##endif
##endif
##local.define(MultiValueStringMetaField)
##if info.IsEqual(Amending,1)
##meta.ForEach(f, ##local.Path)
##if metafield.Class
##f
##else
##f
##endif
##else
##if meta.notempty(##local.Path)
##meta.ForEach(f, ##local.Path)
##if metafield.Class
##f
##else
##f
##endif
##else
-
##endif
##endif
##local.define(SubjectMetaField)
##if info.IsEqual(Amending,1)
##else
##if meta.notempty(##local.Path) ##meta.Data(##local.Path) ##else - ##endif
##endif
/*##local.define(DateMetaField)
##if info.IsEqual(Amending,1)
##else
##if meta.notempty(##local.Path) ##meta.Data(##local.Path) ##else - ##endif
##endif
*/
##local.define(DateMetaField)
##if info.IsEqual(Amending,1)
##else
##if meta.notempty(##local.Path) ##meta.Data(##local.Path) ##else - ##endif
##endif
##local.define(LanguageMetaField)
##if info.IsEqual(Amending,1)
##if meta.notempty(##local.Path)
##local.defineByRender(current)##meta.Data(##local.Path)
##else
##local.defineByRender(current)##sessioncfg.ZONES.EMedia.DefaultLanguage
##endif
##else
##if meta.notempty(##local.Path) ##meta.Data(##local.Path) ##else - ##endif
##endif
##local.define(VersionMetaField)
##if info.IsEqual(Amending,1)
##if meta.notempty(##local.Path)
##local.defineByRender(current)##meta.Data(##local.Path)
##else
##local.defineByRender(current)
##endif
##else
##if meta.notempty(##local.Path) ##meta.Data(##local.Path) ##else - ##endif
##endif
##local.define(ModuleMetaField)
##if info.IsEqual(Amending,1)
##if meta.notempty(##local.Path)
##local.defineByRender(current)##meta.Data(##local.Path)
##else
##local.defineByRender(current)##sessioncfg.ZONES.EMedia.DefaultLanguage
##endif
##else
##if meta.notempty(##local.Path) ##meta.Data(##local.Path) ##else - ##endif
##endif
##local.define(JobIndustryMetaField)
##if info.IsEqual(Amending,1)
##if meta.notempty(##local.Path)
##local.defineByRender(current)##meta.Data(##local.Path)
##else
##local.defineByRender(current)##sessioncfg.ZONES.EMedia.DefaultLanguage
##endif
##else
##if meta.notempty(##local.Path) ##meta.Data(##local.Path) ##else - ##endif
##endif
##local.define(ItemTypeMetaField)
##if info.IsEqual(Amending,1)
##if meta.notempty(##local.Path)
##local.defineByRender(current)##meta.Data(##local.Path)
##else
##local.defineByRender(current)__default
##endif
##else
##if meta.notempty(##local.Path) ##meta.Data(##local.Path) ##else - ##endif
##endif
##local.define(StatusMetaField)
##if info.IsEqual(Amending,1)
##if meta.notempty(##local.Path)
##local.defineByRender(current)##meta.Data(##local.Path)
##else
##local.defineByRender(current)##sessioncfg.ZONES.EMedia.DefaultStatus
##endif
##else
##if meta.notempty(##local.Path) ##meta.Data(##local.Path) ##else - ##endif
##endif
##local.define(MultiLineStringMetaField)
##if info.IsEqual(Amending,1)
##if meta.notempty(##local.Path)
##else
##endif
##else
##if meta.notempty(##local.Path) ##meta.Data(##local.Path) ##else - ##endif
##endif
##local.define(KwList)
##if info.IsEqual(Amending,1)
##if meta.IsMap(##local.Path)
##meta.With(keys,##local.Path)
##local.define(ikw)1
##keys.foreachin(kw,"")
##local.defineByRender(Keyword)##kw
##local.increment(ikw)
##else
##endif
##else
##if meta.notempty(##local.Path)
##meta.with(keys,##local.Path)
##keys.foreachIn(kw,"")
##kw
##else - ##endif
##endif
##local.define(JobFNList)
##if info.IsEqual(Amending,1)
##sessioncfg.With(jobThes,ZONES.EMedia.JobFunctionThes)
##local.define(ikw)1
##if meta.IsMap(##local.Path)
##meta.With(keys,##local.Path)
/*##keys.Dump() */
##keys.foreachin(fn,"")
##local.defineByRender(Keyword)##fn
##if local.IsEqual(Keyword,"")
##else
-
##local.increment(ikw)
##endif
-
##else
-
##endif
##else
##if meta.notempty(##local.Path)
##meta.with(keys,##local.Path)
##keys.foreachIn(kw,"")
##kw
##else - ##endif
##endif
##local.define(EventKwList)
##if info.IsEqual(Amending,1)
##if meta.IsMap(##local.Path)
##meta.With(keys,##local.Path)
##local.define(ikw)1
##keys.foreachin(kw,"")
##local.defineByRender(Keyword)##kw
##local.increment(ikw)
##else
##endif
##else
##if meta.notempty(##local.Path)
##meta.with(keys,##local.Path)
##keys.foreachIn(kw,"")
##kw
##else - ##endif
##endif