Originally Posted by glenngv
There is a timing issue here because when the form is submitted, an asynchronous
ajax is called to fetch the ip info. The script will not wait for the ajax call to be finished so it will proceed to submitting the form.
Why not fetch the ip ifo on the server side where the contact form is submitted and processed?
there shouldn't be a timing issue. The submit is in the success callback so shouldn't fire until after the response is completed.