WordPress.org

Forums

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

  1. Dark_Forever
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

  3. Dark_Forever
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

  5. guy1407
    Member
    Posted 11 months ago #

    Hi
    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

    HTH
    Guy

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