attemp to creat a tax calculator based on user imput an variables

I would like to make a tax payer calculator for a group project at uni, but it aint working, i would like to put these formulas on different variables, but it doesn't show anything when i am testing ── Renda < 5000 → “The new IRPF provides that you are exempt from income tax.” ── 5000 < Renda <= 7000 → “The new IRPF provides that you must pay: IR = 1,095.11 - (0.156445 × renda); ── 60000 < Renda <= 84000 → “The new IRPF provides that you must pay: IR = 9,429.52 - (0.1122562 × renda).” ── 84000 < Renda → “The new IRPF provides that you must pay: IR = 10% on taxable income subject to annual adjustment.” https://app.typebot.io/typebots/cmgkxzy5f0002jp04u63ficgc/edit this is the flow
Editor
Create and publish conversational forms that collect 4 times more answers and feel native to your product
2 Replies
Baptiste
Baptiste2mo ago
This is not valid Javascript code
Baptiste
Baptiste2mo ago
ChatGPT
ChatGPT - Set Variable Codegen
Generates Set Variable custom code for Typebot

Did you find this page helpful?