• Resolved katiedna

    (@katiedna)


    The calculated fields form works on safari, but not on firefox. Changing the script load method does not help. What could be causing the problem?

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

    (@codepeople)

    Hello @katiedna,

    Could you send me the link to the webpage where the form is inserted to check it in detail, please?

    Best regards.

    Thread Starter katiedna

    (@katiedna)

    Plugin Author codepeople

    (@codepeople)

    Hello,

    The issue is very simple, in javascript the comparison operator for equality is the double symbol: “==” because the symbol: “=” is used for assignment. The syntax error is present in your both equations, specifically, in the conditions:

    if(fieldname3=32) return "Groups A and B";

    and

    if(fieldname2=2300) return "Groups A and B";

    Best regards.

    Thread Starter katiedna

    (@katiedna)

    Thank you for your help. However, I fixed this error and the calculated fields are still not showing up in firefox. All of the other operators seem to be correct.

    Plugin Author codepeople

    (@codepeople)

    Hello @katiedna,

    I’ve checked your form again, and the syntax errors have not been fixed. You are using the assignment symbols (“=”) instead the equality operators (“==”) in the conditions of “if” statements.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Calculated fields not working on all browsers’ is closed to new replies.