Joao
TTypebot
•Created by Joao on 8/19/2024 in #help-and-questions
Help with script in typebot
and i got this
ReferenceError: setVariable is not defined
16 replies
TTypebot
•Created by Joao on 8/19/2024 in #help-and-questions
Help with script in typebot
i also tried to use setVariable in the place of return
16 replies
TTypebot
•Created by Joao on 8/19/2024 in #help-and-questions
Help with script in typebot
For example here :
case 1:
return {{resultadoqtd1}} = {{resultadoqtd1}} - {{Quantidade a remover}};
This variable {{resultadoqtd1}} must update the value to this new value
but that's not happening
16 replies
TTypebot
•Created by Joao on 8/19/2024 in #help-and-questions
Help with script in typebot
I have 15 products in my typebot, each product has a code and in this step of the flow there is an area to remove product quantity, so the user types the example code:
removecode
then I show the item and the quantity that was added, and the user types the quantity to remove and in this code
In theory, if the removecode === productcodeX, the amount that the user typed must be reduced by the amount of the product and this value must be saved in the variable that has the quantity, but the value is not being updated.
16 replies
TTypebot
•Created by Joao on 8/19/2024 in #help-and-questions
Help with script in typebot
why
16 replies