Skip to content
Snippets Groups Projects
Commit 14a96e5f authored by Florian Maier's avatar Florian Maier
Browse files

[Projekt: xRM-ContactManagement][TicketNr.: 2001648][Fehlerhafte Adress-Pflichtfeld-Validierung]

parent b2a74d23
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@
<entityField>
<name>ADDRESS</name>
<title>Street</title>
<mandatory v="true" />
<mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/address/mandatoryProcess.js</mandatoryProcess>
<textInputAllowed v="false" />
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/address/stateProcess.js</stateProcess>
<titleProcess>%aditoprj%/entity/Address_entity/entityfields/address/titleProcess.js</titleProcess>
......@@ -58,7 +58,7 @@
<name>CITY</name>
<documentation>%aditoprj%/entity/Address_entity/entityfields/city/documentation.adoc</documentation>
<title>City</title>
<mandatory v="true" />
<mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/city/mandatoryProcess.js</mandatoryProcess>
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/city/stateProcess.js</stateProcess>
<onValueChange>%aditoprj%/entity/Address_entity/entityfields/city/onValueChange.js</onValueChange>
<onValueChangeTypes>
......@@ -110,7 +110,7 @@
<entityField>
<name>ZIP</name>
<title>Postcode</title>
<mandatory v="true" />
<mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/zip/mandatoryProcess.js</mandatoryProcess>
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/zip/stateProcess.js</stateProcess>
<onValueChange>%aditoprj%/entity/Address_entity/entityfields/zip/onValueChange.js</onValueChange>
<onValueChangeTypes>
......
import("system.vars");
import("Entity_lib");
import("system.result");
import("AddressEntity_lib");
result.object(AddressEntityValidation.isMandatoryField(vars.get("$field.COUNTRY")));
\ No newline at end of file
import("system.vars");
import("Entity_lib");
import("system.result");
import("AddressEntity_lib");
result.object(AddressEntityValidation.isMandatoryField(vars.get("$field.COUNTRY")));
\ No newline at end of file
import("system.vars");
import("Entity_lib");
import("system.result");
import("AddressEntity_lib");
result.object(AddressEntityValidation.isMandatoryField(vars.get("$field.COUNTRY")));
\ 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