Is is possible to change the address layout in the viewer from: City - Postcode to Postcode - City I think this is also in france, belgium and germany.
Announcement
Collapse
No announcement yet.
Address format for dutch users
Collapse
X
-
This works for the edit form, but does not present the view in a correct way. I get the impression that this code displays the view of the address... But what to change to get it postalcode, city, state?
if (cityValue || stateValue || postalCodeValue) {
if (html != '') {
html += '<br>'
}
if (cityValue) {
html += cityValue;
}
if (stateValue) {
if (cityValue) {
html += ', ';
}
html += stateValue;
}
if (postalCodeValue) {
if (cityValue || stateValue) {
html += ' ';
}
html += postalCodeValue;
}
}
Comment
Comment