For some countries, the numbers in the street are incorrectly entered or absent from the database. In this case, it is possible to display a static list of numbers (example: from 1 to 300) as long as no number is returned for the selected street. To do this, 3 additional parameters must be provided during the call:
- « force_nums »: this parameter is an associative array that will activate the list of numbers for countries passed as keys:
- {country_code_iso3: , country_code_iso3:1= 1,…}
- We will then display for this country a list of default numbers as soon as the webservice does not return any.
- « min_bound »: lower bound of the number list displayed by default
- « max_bound »: top bound of the default number list
$('#id_form').dqe({
server : 'classes/dqe.php',
zip : '#id_zip',
city : '#id_city',
street : '#id_street',
number : '#id_number',
compl : '#id_compl',
local : '#id_local',
force_nums : {UKR: 1, RUS: 1},
min_bound : 1,
max_bound : 300,
});