Maybe someone could help me …
Ive got a webform with an input (postal code). I want its maxlength to be 5.
When users fill it, once the 5 digits entered, an autocomplete callback retrieves corresponding cities.
When a city is chosen, the input content is rewritten like “XXXXX – CITY”. Now the field length is more than 5.
When the form is submitted, it is not validated.
I would like to bypass the validation of this specific property (maxlength) …
Is it possible ?