Yes, I checked out his website. I deliberated filled the contact form because I knew the data will not submit traditionally by having the browser loading to send the form and then echo a thank you message. I was expecting something ajaxing. And wow, I was right. The form freezed in a gray color, then slided right with a thank you bar replacing the submit button. Then under few seconds, the form slided back again in it’s former position.
Before filling the form, I tried submitting it without filling the fields to see it’s reaction. And it reacted by shaking itself in a no-way-I-can’t-be-sent-like-that attitude.
Yeah @pixelgrid is right, I created the Pen first to play around with the idea and then used almost the exact same JS live. Just view the source of that page, I kept everything inside the html because it’s not much code and only used on one page.
> Here is my question. where does the form data sent to?
The same page, I have to find a better solution for that (something that returns JSON with success or failure messages). Now it just waits for any response and assumes success. I will fix that but it’s not something that has high priority for me.
@Crocodillon, thank u. I want to use the form in a website am working on right now. I have added the form and it’s behaving normally. But i want the data to be sent to a gmail account. How can i achieve that?