• Resolved ceesay

    (@ceesay)


    We are noticing that sometimes the conditional field “When would you attend:” does not show after selecting a program type (seems to not work more in Chrome). The big problem we are facing is that when it doesn’t show, the autoresponder does not know what to send (we have 4 different emails set up depending on the program type) so it sends a blank email. It appears that if we reload/refresh the page, the conditional field then works fine. I’ve added a javascript to refresh the page once loaded, but that doesn’t seem to always work either.

    Any advice would be much appreciated.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Sound like you are not respecting the rule that All field names should be unique.

    Feel free to set up your form here https://conditional-fields-cf7.bdwm.be/form-tester/ so I can have a closer look.

    Thread Starter ceesay

    (@ceesay)

    Hi, Jules,

    Appreciate your response. Not sure if I’m missing something, but I think all the field names are unique. It’s troubling us that it sometimes works and sometimes not. Here is the form:

    https://conditional-fields-cf7.bdwm.be/form-tester/?hash=16e3841731e9a43b97a99aeeb7a04522

    Again, appreciate your time.

    Plugin Author Jules Colle

    (@jules-colle)

    I think you should run your code trough a HTML validator. Closing a div or group one time too much can really mess up things. Your email template is very complex, so I’m not going to analyse it completely, but I spotted one error at least. You are using a </br> tag, which is simply not a valid HTML tag. It should be either <br> or <br/>

    Maybe there’a other errors as well. Check your opening and closing tags and your opening and closing groups, and make sure that you don’t have things like <a><b></a></b>

    Thread Starter ceesay

    (@ceesay)

    Thank you for looking over the email template. Indeed, there are some errors. However, it sends out and displays fine if the “When would you attend” conditional field appears after selecting a program-type. Only when the conditional field does not appear that it sends a blank email.

    Plugin Author Jules Colle

    (@jules-colle)

    If you believe that the error is not related to invalid HTML om your part, please simplify the form code and the email code a bit so I can grasp it and verify that there is indeed a problem with the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Conditional Fields sometimes works and sometimes not’ is closed to new replies.