-
grupotrebolrcFecha de consulta 9 de agosto de 2024, 11:07
Necesitaría incluir dos campos de impuestos que se nutran de las opciones desplegables que desee el cliente y en función de eso calcular el total del pedido. Es posible?
-
Eduardo Jotform SupportFecha de respuesta 9 de agosto de 2024, 13:53
Hi grupotrebolrc,
Our Spanish Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Spanish, let us know and we can have them do that. But, it might take a while until they're available again.
Now, coming back to your question, unfortunately, it's not possible to add more than one tax to the product's list. A workaround would be to add the products in basic fields in the form, and then, after your client chooses the IVA and Perception tax, we would use the calculation widget to check the final price of the products. Let me show you an example:
- In Form Builder, click on Add Form Elements on the top left of the page.
- Select the Multiple Choice option and add the products of your choice.
- Click on the Properties Icon.
- Select the Options tab.
- Turn on Calculation Values.
- Insert the product's value in the corresponding fields.
Now that the products are set, let's insert the 2 tax options using the Dropdown element.
- In Form Builder, click on Add Form Elements on the top left of the page.
- Select Dropdown and add the tax value in percentages, just like you did in your form.
And lastly, let's create the calculation widget to help us.
- In Form Builder, click on Add Form Elements on the top left of the page.
- Click on the Widgets tab.
- Search for Form Calculation.
We'll now need to set up the calculation. It's easy. Let me show you how.
- In the Calculation widget, let's add the fields Products + IVA + Perception IVA.
- Click on Save.
And that's it. Now the user will be able to choose the tax values and the value will add up automatically. Here's the result:
Here's my form so you can clone it and test it. We also have a guide about How to Perform Calculations Using a Widget that you can check out.
Give it a try and let us know if you need any other help.