Using if() with checkboxes
-
Hi, I want to do something like this:
(function){
if(fieldname1=true) return (fieldname2+fieldname3);
if(fieldname1=false) return (fieldname3-fieldname2);
}Is it possible to create a conditional statement based on the status of a checkbox, and if so what is the correct syntax? I couldn’t find anything about this in the documentation on the website.. 🙂
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Using if() with checkboxes’ is closed to new replies.