Contact Form 7
Show messages in a pop-up? (5 posts)

  1. Dark_Forever
    Posted 3 years ago #

    How can I show the messages of "successful sending" and "validation errors ocurred" in a pop-up box? I need it because placing it in any other place would ruin the page design.

    I've tried putting this on the additional settings box: on_sent_ok: "alert('Your message here!');" but it doesn't do anything at all. I also get no errors on the javascript console.

    If anyone can give me a hint on this, here's the link: http://inpabol.com/contato-2/

  2. HOTdesign
    Posted 3 years ago #

  3. Dark_Forever
    Posted 3 years ago #

    The thing is, I don't want the entire contact form to appear on a pop-up window, I only want that behaviour for the success/error messages.

  4. dudaster
    Posted 2 years ago #

  5. guy1407
    Posted 2 years ago #

    Just in case someone will see this post in the future...
    There is no need for a plugin...
    Just put something like :
    on_sent_ok: "alert('Form sent OK');"
    In Additional Settings field at the bottom of the form setup page


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic