Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

"contact us" form with text preview.

Currently, I have a Contact Us form integrated on my webpage, I am looking to add another box which displays what the message will look like after the "Send" button has been pressed.

Can anyone assist me?
[Image: giphy.gif]

What's you issue?
Show me the Php-Source
We need you to elaborate a bit more on what you're using for the site, is it on a CMS such as WordPress? If so a plugin called Contact Form 7 already handles this for you.
If it's a static site, you may want to look at Bootstraps alert classes that are already preset (if you're using Bootstrap)
https://getbootstrap.com/docs/4.0/components/alerts/

If not, you could just inspect the CSS code from that, initially hide the alert message, use some simple AJAX on-submit and if success, add a class to the alert message.
You may want to add two though, one for success and the other for failed/error.
Web Designer / Developer & SEO Expert.

View Work
Earn 10% of the job you refer me to!

Skype aerox.design

so what you're looking for, is kind of a live preview, of what the email will look like, when it has been sent?


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Wordpress] by Bru6May 25, 2021 10:18 AM 0 147 May 25, 2021 10:18 AM
Last Post: Bru6
by © ÉliXéd_Jan 31, 2021 09:40 AM 4 171 Jan 31, 2021 09:40 AM
Last Post: FlashyBeach
by tw0386139Jul 5, 2017 07:59 AM 1 105 Jul 5, 2017 07:59 AM
Last Post: Rushax