• Resolved slandoulsi

    (@slandoulsi)


    Hi,

    The 1000+ fields of my form get perfectly webhooked by Zapier then Excel merged by WebMerge. The result is like Webmerge prices : amazing !

    For some mysterious reason, I have JUST ONE field that refuse after submission to take the Zapier/Webmerge path and to display its value on Excel. But this one has a story : it is a kind of color selector recommended by you. It is based on a radio button with some span and color name added in the “Value” field. It looks like this for Red :

    <span style=”width:20px;height:20px;background:#FF0000;display:block;”></span>

    This solution is perfect for me despite the fact that it does not like Zapier and/or Webmerge.

    Another strange thing : I replaced the submit button by a simple button calling the submit(); function and this time all the fields were correctly displayed on Excel, even the color one.

    Any idea please ?

    Regards,
    SkL

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @slandoulsi,

    The issue is simple, our plugin in the submit process replaces the values of radio buttons (checkboxes, and select options) by their texts, so, if you press the submit button inserted by the plugin all these fields are modified before be submitted to the server. A very easy solution would be insert a “HTML Content” field in the form with the following code as its content:

    <script>
    jQuery(document).on('mousedown', '.pbSubmit', function(){
    jQuery('[vt]').removeAttr('vt');
    });
    </script>

    If you want apply the change only to one field, for example the fieldname6 field, the previous code should be modified as follows:

    <script>
    jQuery(document).on('mousedown', '.pbSubmit', function(){
    jQuery('[id*="fieldname6_"]').removeAttr('vt');
    });
    </script>

    And that’s all.
    Best regards.

    Thread Starter slandoulsi

    (@slandoulsi)

    perfect, it worked !

    Thank you

    Thread Starter slandoulsi

    (@slandoulsi)

    Hello,

    sorry I’m back to this old topic. This field is now correctly send to Zappier/Webmerge but it is value is not saved after submission. I mean that when the form user click on “Update” then this field is back to its default value.

    Can you please help me again on this ?

    Best Regards,
    skl

    Plugin Author codepeople

    (@codepeople)

    Hello,

    Could you send me the link to the form, and indicate the field that is not being populated correctly, please?

    Best regards.

    Thread Starter slandoulsi

    (@slandoulsi)

    Hello,

    Please use this url:
    https://dafteam.tn/wp/business-plan-initial/
    pwd : dafteam123456

    It is fieldname808 that I’m having trouble with.It is on the second page.

    Regards,
    skl

    Plugin Author codepeople

    (@codepeople)

    Hello,

    The fieldname808 is a container (a DIV field), and the DIV tags are not editable elements, and in the HTML standard they are not submitted (only the input, select, and textarea files are submitted), so, you cannot relate a container field with a WebMerge document.

    Best regards.

    Thread Starter slandoulsi

    (@slandoulsi)

    Hello

    I’m sorry for the confusion it is fieldname811. It is a color selector based on a radio button.
    Also, the problem is that it is not saved for the next form update by user. I use the user add-on. It works fine with Webmerge.

    Please use this test account if you need to login
    url : https://dafteam.tn/wp/login/
    usertest
    $Usertest123456

    Then click on “Mes business plan” then on “Cliquez-ici” and the form will appear. Change the color of fieldname811, submit the form and then come back to the “Mes busieness Plan” tab and this time click on Update. You will see that he color is back to the initial value.

    Regards,
    skl

    Plugin Author codepeople

    (@codepeople)

    Hello,

    The fieldname811 field is a radio buttons field, and our plugin submits the text of the choice selected, for example:

    <span style="width:20px;height:20px;background:#FF0000;display:block;"></span>

    But, what is waiting WebMerge? For example, if WebMerge is waiting for the text: “Rouge”, insert a “HTML Content” field in the form with the following piece of code as its content:

    <script>
    fbuilderjQuery(document).one('showHideDepEvent', function(){
    fbuilderjQuery('[id*="fieldname811_"]').removeAttr('vt');
    });
    </script>

    Best regards.

    Thread Starter slandoulsi

    (@slandoulsi)

    Hello

    thanks for your answer but let me please clarify my problem.
    The field is correctly sumbitted to Webmerge. I had already the content you are proposing in an html field. So, this works fine.

    My problem now is that after submitting the form and reopening it again in the user section, the previous field value has not be saved. All the rest of the form but this specific field is saved. This is what I’m trying to figure out.

    I appreciate your help on this.

    Best regards,
    skl

    Plugin Author codepeople

    (@codepeople)

    Hello,

    Please, go to the form, and do not assume that there is a choice selected by default.

    Tip: In the case of radio buttons may be necessary insert a new choice in the field. Select this choice by default, and then remove this choice.

    Best regards.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘One Webmerge resistant field’ is closed to new replies.