0
I have the following question:
I am working on a project where I have a registration form and I need to open a modal window to include an address in a form.
Example:
In my form I have 3 types of Address.
Home Address > The user clicks a button that opens a modal (loads another php page) inside the modal loads the google maps and a field with the address, after the user specifies the address and click insert back into the form with the completed address.
I already got the page .php
(cad_novo.php) that queries google maps and autocompletes the address and saves the selected address in a field.
I need to know how to carry a modal with this page of mine .php
(cad_novo.php) and how to pass the data to the form and auto impute in the address field to then do the Submit with the address that the guy selected through google maps.
The idea is that it does not change the address and we always have the address that comes from google
I thought about doing this with javascript but I do not know if it is possible to manipulate the data in this way.
I don’t understand Ajax, but if it’s an option I try to learn.
Currently the site is being developed with cms joomla 3x.
see my answer: http://answall.com/questions/83066/vari%C3%A1vel-php-inside-modal
– Ivan Ferrer