I've got a survey page with two questions. One is numeric asking for a dollar amount, and the other is a check box select with one response choice - Don't know. (Client want it that way.)
I've got the following code in the Custom Verification area:
if (SSI_GetValue("Q10") > 0 && SSI_GetValue("Q10DK_1") == 1)
{
strErrorMessage = "Please either enter a dollar amount or check 'Don't Know', but not both.";
}
if (SSI_GetValue("Q10") == 0 && SSI_GetValue("Q10DK_1") == 0)
{
strErrorMessage = "Please either enter a dollar amount or check 'Don't Know'.";
}
It works exactly as you would expect in Firefox and Chrome, but in IE it won't let you advance to the next question regardless of how you answer the two parts. Any thoughts?