Help with if statement
-
Hi there,
I have a calculated field set up with the following code
(function(){ var prereqs = [fieldname70,fieldname312,fieldname316,fieldname320,fieldname324,fieldname308], prereqs; if fieldname70.val() != 'ENG4U' prereqs = "ENG4U needed for this program."; else prereqs = "Pre-requisites achieved"; return prereqs; })()
The calculated field is not outputting as expected. Could someone please help? Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Help with if statement’ is closed to new replies.