Hi!
I’ve realized that everytime that I load a task, the browser console displays the following error:
ReferenceError: camForm is not defined
The error points to the first reference of camForm
in the form loaded by the task. For example, this is part of the form attached to the initial task:
<form role="form">
<script src="../../../../contratos/scripts/separ.js"></script>
<script cam-script type="text/javascript">
camForm.on('form-loaded', function() {
camForm.variableManager.fetchVariable('id');
camForm.variableManager.fetchVariable('nombre');
camForm.variableManager.fetchVariable('fecha');
});
In this case, the error is thrown in the line with the camForm.on
event handler. However, despite the error, the form seems to work fine. What is causing the error?
Thanks in advance,