Skip to content
Snippets Groups Projects
Commit 8d59d32c authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1056978][Automatische Adressbefüllung überschreibt Straße]

parent 7a44b81f
No related branches found
No related tags found
Loading
......@@ -15,8 +15,6 @@
<mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/address/mandatoryProcess.js</mandatoryProcess>
<textInputAllowed v="true" />
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/address/stateProcess.js</stateProcess>
<valueProcess>%aditoprj%/entity/Address_entity/entityfields/address/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Address_entity/entityfields/address/displayValueProcess.js</displayValueProcess>
<onValueChange>%aditoprj%/entity/Address_entity/entityfields/address/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
......
import("system.vars");
import("system.result");
// Needed for instant refresh if set by neon.setFieldValue
// use the code if address webservice is active
//result.string(vars.get("$field.ADDRESS"));
\ No newline at end of file
import("system.result");
import("WsValidation_lib");
import("system.vars");
// use the code if address webservice is active
//result.string(WsValidationUtils.valueFromJSON(vars.get("$this.value")));
\ No newline at end of file
import("system.vars");
import("WsValidation_lib");
WsValidationFieldUtils.wsValueProcess(WsValidationType.get().TYPE_STREET_NOMINATIM, "$field.ADDRESS");
\ No newline at end of file
if(!vars.get("$this.value"))
WsValidationFieldUtils.wsValueProcess(WsValidationType.get().TYPE_STREET_NOMINATIM, "$field.ADDRESS");
\ 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