Thanks for that, Tom. Dan’s example has helped me understand that it’s not a matter of turning the expression on and off by linking the checkbox to the equals sign that enables and disables expressions, but using a conditional statement to check the value returned by the checkbox and then either run the expression code or not.
What I really want to do now is understand the Javascript syntax. The only coding I’ve ever done is the most basic sort of BASIC programming in the 80s, so I don’t know why Javascript uses normal, curly and square brackets or why you use two equals signs rather than just one – the whole thing, really. Are there any good complete-beginner tutorials for expression-writing?