I host my site on amazon web services (S3) which doesn’t support php. Hence i host (only) the (send-mail.)php file on a different server which supports php and rest of the site is on S3.
What this means is, the contact form works fine (S3 connects to server which hosts the php file to send the mail) BUT the rotating icon on the bottom of the screen is not updated when the message is sent. It just keeps rotating even when we navigate to other page.
So I would like to know how to get the icon to play nice with php on other server and rest of the site on Amazon AWS (S3).
Can i display a ‘Success’ message as soon as the send button is pressed (irrespective of what happens at php side)…some kind of response to user is nice..?