WordPress.org

Ready to get started?Download WordPress

Forums

Simple modal contact form not working on ie8 (4 posts)

  1. drtanz
    Member
    Posted 4 years ago #

    Hi my simplemodal contact form is not opening up on ie8

    Here is my website: http://tinyurl.com/yzz4zsd

    The simplemodal form is activated by clicking on the 'Newsletter' link in the footer.

    I would also like to know how to change the From field when sending an email. That is I would like the proper from to display the email of the sender but also I would like it to display a specific name in the From field when you receive an email, not the email address itself.

    Thanks for the help

  2. Eric Martin
    Member
    Posted 4 years ago #

    drtanz,

    See my response to your sitepoint post regarding the IE issue.

    As for the other issue, you can edit smcf_data.php and change:

    $headers = "From: $email\n";

    to:
    $headers = "From: $name <$email>\n";

    Keep in mind that I've seen issues, mainly on Windows servers, with this type of format.

    -Eric

  3. drtanz
    Member
    Posted 4 years ago #

    thanks eric, havent been able to get it to work on ie yet however :S

  4. drtanz
    Member
    Posted 4 years ago #

    I am also noticing that on firefox when i fill in the form and click send the email gets send but the form doesnt close

Topic Closed

This topic has been closed to new replies.

About this Topic