WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Some forms working, others not (12 posts)

  1. gensd
    Member
    Posted 11 months ago #

    I have approximately 15 forms on a website, and 2 are working. The others are not.

    I've copied the forms that are working, to try to replicate a "working" form, but those don't work either.

    I've gone through the various suggestions of adding additional headers for reply-to addresses, etc. and nothing has fixed this.

    Thoughts?

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

  2. buzztone
    Member
    Posted 11 months ago #

    Include all your input in the Form section of the CF7 interface and a link to your CF7 form if possible. Please do this for both a working and not working form.

  3. gensd
    Member
    Posted 11 months ago #

    Working form:

    <p>Your Name*
        [text* your-name] </p>
    
    <p>Your Email
        [email your-email] </p>
    
    <p>Your Phone*
    [text* text-520]</p>
    
    <p>Area of interest:
    [select menu-955 "Alcohol/Drug Rehab Programs" "Christian Drug Abuse Programs" "Family Focused Therapies" "Co-Occurring/Dual Diagnosis Treatments" "Detox Placement" "Inpatient Programs"]</p>
    
    <p>Questions / Comments
        [textarea comments 1x2/900] </p>
    
    [honeypot honeypot-429]
    
    <input type="hidden" name="visitorId" id="visitorId" value="" />
    <p>[submit "Send"]</p>



    [Please use the code buttons when posting code on these forums]

  4. gensd
    Member
    Posted 11 months ago #

    This form initially worked, then stopped sending emails.

    <table width="90%" border="0" bgcolor="#f4f4f4" cellpadding="2">
      <tr>
        <td colspan="2" bgcolor="#e6f0fc"><strong>Your Information:</strong></td>
      </tr>
      <tr>
        <td>Full Name*:</td>
        <td>[text* your-name 40/80]</td>
      </tr>
      <tr>
        <td>Your Email*:</td>
        <td>[email* your-email 40/60]</td>
      </tr>
      <tr>
        <td>Your Telephone Number*:</td>
        <td>[tel* phone 15]</td>
      </tr>
      <tr>
        <td>Best time to call:</td>
        <td>[select best-time class:wpcf7-drop "Early morning: 5a - 8a" "Morning: 8a - 12 noon" "Afternoon: 12 noon - 5p" "Evening: 5p - 8p" "Anytime"]</td>
      </tr>
      <tr>
        <td colspan="2" bgcolor="#e6f0fc"><strong>Your Location:</strong></td>
      </tr>
      <tr>
        <td>City:</td>
        <td>[text city 40/60 placeholder "City"]</td>
      </tr>
      <tr>
        <td>State:</td>
        <td>[select* state class:wpcf7-drop "AK" "AL" "AR" "AZ" "CA" "CO" "CT" "DC" "DE" "FL" "GA" "HI" "IA" "ID" "IL" "IN" "KS" "KY" "LA" "MA" "MD" "ME" "MI" "MN" "MO" "MS" "MT" "NC" "ND" "NE" "NH" "NJ" "NM" "NV" "NY" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VA" "VT" "WA" "WI" "WV" "WY"]</td>
      </tr>
      <tr>
        <td>Zip Code:</td>
        <td>[text* zip 10/5 placeholder "Zip"]</td>
      </tr>
      <tr>
        <td colspan="2" bgcolor="#e6f0fc"><strong>Insurance Information:</strong></td>
      </tr>
      <tr>
        <td>Name on Policy:</td>
        <td>[text name-policy 40/60]</td>
      </tr>
      <tr>
        <td>Policy Type:</td>
        <td>[radio policy-type "HMO" "PPO" "Not Sure"]</td>
      </tr>
      <tr>
        <td>Group Number:</td>
        <td>[text group-no 20/30]</td>
      </tr>
      <tr>
        <td>Date of Birth:</td>
        <td>[date date-birth]</td>
      </tr>
      <tr>
        <td>Policy is through:</td>
        <td>[select policy-through class:wpcf7-drop "Employer" "State" "Family member" "Other"]</td>
      </tr>
      <tr>
        <td>Treatment Type:</td>
        <td>[select treatment-type "Alcohol/Drug Rehab Programs" "Christian Drug Abuse Programs" "Family Focused Therapies" "Co-Occurring/Dual Diagnosis Treatments" "Detox Placement" "Inpatient Programs" "Other"]</td>
      </tr>
      <tr>
        <td colspan="2"><p>[honeypot honeypot-953]
    
    <input type="hidden" name="visitorId" id="visitorId" value="" /></p></td>
      </tr>
      <tr>
        <td colspan="2">[submit class:wpcf7-send "Send"]</td>
      </tr>
      <tr>
        <td colspan="2">* Denotes required fields</td>
      </tr>
      </table>



    [Please use the code buttons when posting code on these forums]

  5. buzztone
    Member
    Posted 11 months ago #

    Not Working Form is rather complex (partly due to your use of tables for formatting) but I can't see any obvious errors in there - certainly nothing that would stop CF7 sending emails.

    In any case, what is different on the pages that contain the forms that are not working. For example is there a plugin operating that uses Javascript that displays only on these pages?

  6. gensd
    Member
    Posted 11 months ago #

    There's no difference on the pages.
    They're both displaying in the same template and sidebar configuration.

  7. buzztone
    Member
    Posted 11 months ago #

    Please supply link to both the working and not working form.

  8. gensd
    Member
    Posted 11 months ago #

    This form does not work

    Both of these forms work

  9. buzztone
    Member
    Posted 11 months ago #

    You appear to have a Javascript Conflict on http://www.therecoveryplace.net/about-us/insurance-providers/generic-insurance-page/ which is stopping CF7 from executing correctly.

    It did execute after about 10 mins. You should get a couple of test emails.

    Most likely cause is the interactive map which appears to be showing a Javascript error in Firebug.

    This a clear difference between the working and non-working pages.

  10. gensd
    Member
    Posted 11 months ago #

    I'll take the map out and try again. I tested the page before I added the map in, and the emails weren't sending previously either.

  11. gensd
    Member
    Posted 11 months ago #

    I removed it, and I still don't receive the emails.
    One thing I noticed is that Flamingo does have the messages in it's database, so the messages are being saved. Just the email is never sent?

  12. buzztone
    Member
    Posted 11 months ago #

    See Solving CF7 Javascript Conflicts.

    Use Firebug or Chrome Dev Tools to examine Javascript conflicts in detail - see Use Firebug or Chrome Dev Tools

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.