This page will show the functionalities of the Code Executor module.
The code executor module can listen to many input variables and action and generate output variables and action. It can really make you page "alive" and is a good alternative to the Filter module in many cases.
A code editor has many functions:
- getEvent() - what triggered the call to this script ?
- button: one of the button was pressed
- action: an action was send
- getAction() - get the name of the action that triggered the script
- getButton() - get the name of the button that triggered the script
- getVariables() - get all the variables in and their value
- get(name) - get a specific variable value
- getVariable() - get the name of variable that triggered the script