Conditions with "Contains" and "Does not contain" do not work in IE8

  • Profile Image
    Asked on May 11, 2015 at 04:41 AM

    I have three Show/Hide conditions on my form, which work fine in Chrome, Firefox and IE9+. Unfortunately, many of our expected users are still stuck on IE8.

    Through testing, I've found that all the conditions work fine except for the ones using "Contains" and "Does not contain". The form needs to show an error when the user enters an email address of the type "" (just that specific server).

    I've tried:

    IF Email address CONTAINS "" THEN SHOW Error message;

    IF Email address DOES NOT CONTAIN "" THEN HIDE Error message;

    In IE8, in the first instance the message is never shown. In the second, it is always shown.

    In IE8, it seems that the "Contains" and "Does not contain" tests always return a False result.

    Is there a workaround/fix for this behaviour, or another way of using conditions to achieve the same result?

  • Profile Image
    Answered on May 11, 2015 at 09:31 AM

    I took a look at it and it seems that it is not working for some reason, just as you have mentioned it. Now what does work is if you alter it just slightly to check if the email address ends with it.

    Since you had this check in your conditions: @student.uwa, then I made the change to it like so:

    This way it will work even in IE8

    You can test it here:

    Do let us know how it goes.

  • Profile Image
    Answered on May 11, 2015 at 09:33 PM

    Thanks Ben, that's an excellent workaround - it seems so obvious in hindsight!

    Could I ask that this thread be updated once the "Contains" condition behaviour is fixed?

  • Profile Image
    Answered on May 12, 2015 at 01:42 AM

    Hello cgorham,

    I am glad to know that my colleague's workaround worked for you. 

    Let me connect with my colleague on the issue of "Contains" condition. We will update your here.

    Thank you!