Skip to content
Snippets Groups Projects
Commit 4ceef83d authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

onvalidation for letter

parent 5eac1276
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.11" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.11">
<name>Letter_entity</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<onValidation>%aditoprj%/entity/Letter_entity/onValidation.js</onValidation>
<recordContainer>jdito</recordContainer>
<entityFields>
<entityProvider>
......
import("system.vars");
import("system.translate");
import("system.result");
if (!vars.get("$field.bindata") && !vars.get("$field.DOCUMENT_TEMPLATE"))
{
result.string(translate.text("Please select a documenttemplate or upload a new file."))
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment