FindingFive Discussion Forum
FAQ #4 - Syntax Error Message - Printable Version

+- FindingFive Discussion Forum (http://discuss.findingfive.com)
+-- Forum: Researchers (http://discuss.findingfive.com/forumdisplay.php?fid=3)
+--- Forum: Study Grammar & Management (http://discuss.findingfive.com/forumdisplay.php?fid=5)
+--- Thread: FAQ #4 - Syntax Error Message (/showthread.php?tid=5)



FAQ #4 - Syntax Error Message - Lila - FF Operations - 10-26-2020

When I'm coding up my study, what should I do when I get an error message? How do I know what needs fixing?


RE: FAQ #4 - Syntax Error Message - Lucy - FF Researcher Support - 10-26-2020

If you get an error message about syntax, there are two things you should do. (1) Highlight all text in your trial templates and press "Tab" on your keyboard. This will indent all code in a readable way, so that you can look through it and see if there are any missing parentheses, etc. Do the same thing with your procedure code. 
If you can't find an issue by looking at your code, you should (2) verify that your code is valid JSON. To do this, copy and paste your code into an online JSON checker. Be sure to remove any lines with comments (lines that start with double slashes //). These checkers will point to any syntax errors.