Support » Plugin: Contact Form 7 » values empty in email

  • wjweb

    (@wjweb)


    After updating to WP 4.9 i am receiving emails from my contact form, but the values are blank.

    Anything that needs to be generated by the form is empty. My emails look like this:
    —-
    Van: <>
    Onderwerp: Inschrijving IEMT training

    Bericht inhoud:

    Naam:
    Adres:
    Postcode:
    Woonplaats:
    Geboortedatum:
    E-mailadres:
    Telefoonnummer:

    Bedrijfsnaam:
    Certificaat naam:
    —–

    So the input isn’t there, even though the labels are correct, i.e. [text your-name placeholder "Naam"]. In the email tab this is set to: Naam: [your-name]. Doesn’t look wrong to me.

    Any idea what’s happening here?

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Because all the fields are optional?

    Thread Starter wjweb

    (@wjweb)

    No it doesnt matter what i enter. It stays empty in the email

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Don’t you have configuration errors in the Mail tab panel?

    Thread Starter wjweb

    (@wjweb)

    No, thats the strange thing. No errors and i triple checked all the fields. No errors in the console as well. I am out of clues…

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all other plugins.

    ramag

    (@ramag)

    Hi just letting you know that i have the same issue; just trying to use contact forms and noticed that all fields are empty in the generated email, also have installed flamingo for fault finding, there i noticed that this is actually recording the fields and information in the inbound emails. Also using WP 4.9, also other theme specific contact form- which is working.
    So situation seems for contact forms plugin : general email function is working (send etc) – field content is recorded somewhere (e.g. in flamingo ) but field content gets lost somewhere along since no info- field content is in the final sent email.

    Thread Starter wjweb

    (@wjweb)

    Defaulting to standard theme without any plugins except cf7 doesnt work either, the email stays empty..

    kevindorlas

    (@kevindorlas)

    I have the same problem! Updated everything to be sure nothing was out of date, but it isnt fixed yet!

    ramag

    (@ramag)

    Hi just saw that there was an update on the plugin few hours ago Compatible up to: 4.9.1- unfortunately i am trying with 4.9.2 where it still does not seem to work, same problem as before

    I fixed the problem for myself.

    Go to a contactform.
    Add fields with an ID like [your-name] and save.
    Scroll back upwards and go to the other tab called ‘E-mail’.
    Here you have to replace all your field ID’s you used at the previous tab and save.

    Now it has to work. I hope it will fix your problems to. Answer for any other questions.

    thanks for the info, yep working for me now.

    Thread Starter wjweb

    (@wjweb)

    Do you mean replacing the values like [text text-201] to a random other number? That doesnt work for me for some reason.

    Thread Starter wjweb

    (@wjweb)

    I wrapped it in a table. Is that the problem maybe?

    <table cellpadding="10">
      <tr>
        <td colspan="2">
    [text text-100 placeholder "Naam"]</td>
      </tr>
      <tr>
        <td><label>[text text-101 placeholder "Adres"] </label></td>
        <td><label>[text text-102 placeholder "Postcode"] </label></td>
      </tr>
      <tr>
        <td colspan="2">
    <label>[text text-103 placeholder "Woonplaats"] </label></td>
      </tr>
      <tr>
        <td colspan="2"><label>[text text-104 placeholder "Geboortedatum"] </label></td>
      </tr>
      <tr>
        <td><label>[email email-513 placeholder "E-mailadres"] </label></td>
        <td><label>[text text-105 placeholder "Telefoonnummer"] </label></td>
      </tr>
      <tr>
        <td><label>[text text-106 placeholder "Bedrijfsnaam"] </label></td>
        <td><label>[text text-107 placeholder "Certificaat naam"] </label></label></td>
      </tr>
        <tr>
        <td>Schrijft zich in voor de training te:</td>
        <td><label>[text text-108 placeholder "Plaatsnaam"] </label></td>
      </tr>
      <tr>
        <td>Deze training start op:</td>
        <td>[text text-109 placeholder "Datum"] </label></td>
    <tr>
        <td>Is bij IEMT-training terecht gekomen via:</td>
        <td><label>[text text-110] <td><label>
      </tr>
      <tr>
        <td colspan="2">[checkbox checkbox-112 "Ik verklaar dat er geen sprake is van:"]</br>
    <ul><li>een oogziekte of oogprobleem</li>
    <li>een neurologische stoornis</li>
    <li>psychotisch verleden of heden</li>
    <li>nog moet getuigen in een strafrechtelijk proces</li></ul>
    </td>
          </tr>
     <tr>
        <td colspan="2">[checkbox checkbox-113 "Ik ga akkoord met de"] <a href="http://www.iemt-training.nl/algemene-voorwaarden/" target="_blank">Algemene voorwaarden</a>
    </td>
          </tr>
    </table>
    
    </br>
    [submit "Verzenden"]
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘values empty in email’ is closed to new replies.