Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Problem with JS validation with IE9

Since I’m using version 8.0 I have a problem with this simple validation with IE9.

if(SSI_GetValue("email") != SSI_GetValue("email2") )
{
  strErrorMessage = "error xxxxxxxx";
}
It’s working very well with Firefox!

Any clue?

Thanks
asked Mar 14, 2012 by PierreD (220 points)

2 Answers

+1 vote
Hi,

I have the same Problem with IE9. Function SSI_GetValue() ist not ok.

Hier is another way to check E-Mails:
var gv11=$.trim($("#X01_email").val());
var gv12=$.trim($("#X01_email1").val());
if (gv11 != gv12)
{strErrorMessage="Your eintries are not equal. Please correct the eintries and try again.";}


Best regards,
Alex.
answered Mar 27, 2012 by anonymous
+1 vote
This a known bug and will be fixed in version 8.0.2.  In the meantime you can fix this by opening up the ssi_javascript8_0_0.js file in graphics/system and replacing this:

Value = InputObj.value;
Value = Value.trim();

with

Value = jQuery.trim(InputObj.value);

Make sure to refresh your browser so that the changes will take affect.
answered Mar 27, 2012 by Justin Luster Silver Sawtooth Software, Inc. (6,950 points)
Do you know when version 8.0.2 will be available?
...