
Hello community.
I am having some issues with the address input control and I am looking for some advice.
I have a submit button that is disabled if the address input is empty. But if the end user type anything "I mean not an address related" the button is enabled and the address input give an error.
How can I add a validation to make sure that the address typed is in fact a true address?
P/S I always get the zip code maybe is the zip is empty?
And second question?
The user start typing an address for instance 123 Confederation Parkway. The predictive address show the rest or possible matches. The user select one of then. The full address is placed inside the address input. If the user navigates to other page and then return the full address is not there is only whatever the user type.
I mean user type: 123 Confed
Predictive text show : 123 Confederation Parkway, Chicago IL 60603
The user navigate to other page
The user return to address page
Address input show : 123 Confed
Thanks in advance for any help