• Resolved JanDieckmann

    (@jandieckmann)


    I have a form with several conditional fields. So the first field is a select field, a drop down list. And depending on the choice in that field, one of a bunch of other drop down fields is showing up to make a more precise decision. All that is working fine.

    In the Email options both the Custom Text in Email For Administrator as the Custom Text in Email For User include the variable %all% to send all the information a user put in. But since the update to 1.12.31 the table in these emails also includes all the fields that haven’t been active/shown during the filling of the form. I tried with {all} instead but got the same result.

    I checked the submissions list and got even more confused. Since 10th of July everything seems fine. Only the chosen and filled fields have been sent. Then on the 14th there have been some bot activity, I guess, and a few times the form was filled in a short time with nonsense. But all fieldy have been transmitted and even some of them with values other than the first ones what I can’t explain because always only one of these dozen of fields is shown up and accessible.

    Then, on the 16th, there have been three proper uses with mails only showing the intended fields. But today after finally proceeding the last update, one proper and all following tests brought up mails showing even non selected conditional fields.

    Andy ideas what is going on? How is the variable all filled?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Form Maker Support

    (@formmakersupport)

    Hi Jan!

    Please see the answers to your questions:

    1. Please make sure that you disabled Email Empty Fields setting, in case you do not want to include form fields, which are left empty by the submitter.

    2. Please try the following:
    Add the <input type=”hidden”> field in the form and named it spamhidden

    Then in this form-maker/frontend/models/form_maker.php file please search for a “savedata” and in function
    public function savedata($form, $id) { after the line $id_for_old = $id; add
    if(isset($_POST[“spamhidden”]) && trim($_POST[“spamhidden”]) != “”) { return false; }

    Also, please add in Form Maker/ Block IPs all IPs from which you received the spams.

    Thanks in advance, have a nice day!

    Thread Starter JanDieckmann

    (@jandieckmann)

    Thank you already for your quick and detailed response.

    1. The setting was disabled. Now I enabled it, updated the form, disabled it again and updated again. Like this I tried to make sure this value is properly set.

    I continued testing and found out that empty fields want be send. The problems are the conditional fields that aren’t empty but not shown in the first place. I guess I can fix it by adding default/first values for these fields that will be set as empty values. Question is why it worked like this till recently.

    2. The site I take care of isn’t using the premium version of the Form Maker plugin so far. I can’t add the suggested spamhidden field because there are already more than seven fields in the form. A lot more than seven. I don’t know how they managed to do so but can that be a reason for that issue?

    Plugin Contributor Form Maker Support

    (@formmakersupport)

    Dear Jan,

    1. Unfortunately, it is a bug of the plugin. I contacted the development team and they told that are going to fix it in the upcoming updates.

    2. Please note that if there was a bot activity, then most probably it will help. However, if you have already 7 fields, then please try to block all IPs from which you received the spams.

    Thanks, have a nice day!

    Thread Starter JanDieckmann

    (@jandieckmann)

    Okay, great. Thank you for taking care.

    It is just now that I realize that I used the wrong word: “I found out that empty fields won’t be send.” and not “want” ?? But obviously you figured out what I wanted to say.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Behavior of all-variable in mails’ is closed to new replies.