Tabidoo is a great platform, which is used mainly without any need to write a single line of code. However, there are situations, which are much easier to solve by coding. As Tabidoo is used for advanced and customized solutions, there is a possibility to add some JavaScript to its behavior.
You can use scripting in these situations:
Even the scripting is very simple with Tabidoo, it is much easier in case you know something about JavaScript ;)
Scripting in the Table definition menu
In some situations, you don't want anyone to be able to read the script. You can place tokens there, sensitive data, you publish it to Templates but you do not want the content to be visible...
Then, you can encrypt the script.
In this case:
So, the script will not run, when you use it on client side - button click trigger etc.
You can use this feature in Scripting extensions or Workflow action.
In case, you are not sure, how the model object looks like or what the value of a variable is, check the value in the developer console of the browser
console.log(doo.model);
Or you can debug your JavaScript step by step and check values of variables and so on in the developer console of the browser using the debugger command in your code (be sure to delete it when done :))
debugger;
You can open the developer console by pressing F12 in Chrome/Edge browser or CTRL+SHIFT+I in Opera browser and similarly in other browsers.