Sorry I was using another page as a test, and I forgot to load the code on the page I needed.
I need on.click to save the information in the “cadastro_de_clientes” collection and then store the user to the page referring to the seller according to the city he chose, referring to the “vendedores” collection.
(the form is already connected to the collection “cadastro_de_clientes” and is linked by the '#enviar button).
It should be easy, but how do I when a state is chosen in the dropdown #states the dropdown #cidades is loaded to the cities for #states that was chosen?
(I already have all states and cities in an excel spreadsheet).
I will start and study to be able to learn, but my problem now is that my time is very very short, thank you very much if you can help me again;)
(I’m using a translator for our conversation)