Delivery Address Component
Some fields of delivery address should to match real address data.
Street will autocomplete all streets depend on typed text and allows only to add real matching streets. This can also be used on other adress fields.
Config in DCF form for automatic delivery address validation
For this to work you need to edit the json file manually
CODE
{
"techName": "ADDRESS_AUTOCOMPLETE",
"label": "Address Search",
"helpText": "Enter city, street, house number or postal code to search for an address",
"attributes": {
"isRequired": false,
"isDynamic": true,
"classes": [
],
"sourceParams": [
],
"customPanel": {
"type": "STATE_AUTOFILL",
"sourceSystem": "INT",
"sourceName": "ADDRESS",
"objValueProp": "name",
"objLabelProp": "name",
"isValueShown": false,
"targets": [
{
"output": "POST_CITY",
"inputs": [
{
"name": "postCity"
}
]
},
{
"output": "POST_STREET",
"inputs": [
{
"name": "postStreet"
}
]
},
{
"output": "POST_CODE",
"inputs": [
{
"name": "postCode"
}
]
},
{
"output": "POST_COUNTRY",
"inputs": [
{
"name": "postCountry"
}
]
}
]
}
},
"valueOptions": [
],
"validators": [
]
}