WordPress.org

Forums

Contact Form 7
Multiple Submit Button on same form (1 post)

  1. martinbryce
    Member
    Posted 1 year ago #

    Hi,

    Is it possible to add more than one submit button to the same form. I want to have a 'Buy Now' option as well as a 'Callback Request' option. I have already implemented the following solution for 'Buy Now'. It is working fine.

    on_sent_ok: "location = 'http://example.com/';"

    How can I add the second button which will send the form details, but redirect the user to a confirmation page?

    Thanks in advance.

    Martin

    https://wordpress.org/plugins/contact-form-7/

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