I am using WordPress. My contact form plugin is “contact form 7”. If your email fails or succeeds, it says sucessfull or not sucessful. I want to attach javascript to it and locate it in middle of my contact so if it fails box opens up says it failed and it disappears, samething for success. I also would like page to change to homepage if mail sent successfully.
Share
If you want this only for the normal use of the form, and not for some fancy special feature – Contact form 7 already have this function .
The default message is (red box ) “Failed to send your message. Please try later or contact the administrator by another method.”
you can change this message in the settings.