WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Redirect (1 post)

  1. shivark
    Member
    Posted 4 years ago #

    Hello,
    I have problem with redirect to thank you page.
    tried everything but doesnt seem to be working.
    I have wordpres 3.0 contact form Version 2.3
    any solutions?

    Is there any way to add onClick function to the submit button?
    onClick="href....." somethink like that? or
    user php header function?
    tried to add header function to classes.php file arround line 83
    where it says:

    if ( $_POST['_wpcf7_mail_sent']['ok'] ) {
    
    					$class .= ' wpcf7-mail-sent-ok';
    					$content = $_POST['_wpcf7_mail_sent']['message'];

    but did not work

    what does script.js file do exactly, I am confused! when I disable this file (script.js) the form still works!
    and in the edit section of the plugins it says:
    "Editing contact-form-7/scripts.js (inactive)" why is that?

    Please heeeeeeeeeeeeeelp
    Thanks

    http://wordpress.org/extend/plugins/contact-form-7/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic