-
PROSPA_PatrickDemandé le 12 juillet 2024 à 06:33
Bonjour ,
j'ai besoin de créer un calculateur en ligne dont le résultat se fait en temps réel.
j'ai un tarif de base sur lequel je rajoute des options.
J'ai besoin de recueillir des champs et en fonction de ses champs de calculer un résultat final.
Exemple, je demande un nombre de pages supplémentaires. Le tarif unitaire pour la page supplémentaire et de 50 €. , le système doit multiplier le nombre de pages supplémentaires par le tarif unitaire de 50 € pour avoir un résultat du nombre de pages supplémentaires multiplié par 50 €.
Deuxième type de critères au résultat final un forfait. par exemple s'il y a du rgpd, il faut rajouter 200 €. Donc, le résultat final sera majoré ou non de 200 €.
Exemple A
tarif de base 1500.
Pages supplémentaires : 2
Rgpd: oui
Résultat= 1500 +(2(pages supplémentaires)*50)+ 200( rgpd) =1800
Exemple B
tarif de base 1500.
Pages supplémentaires : 10
Rgpd: non
Résultat= 1500 +(10(pages supplémentaires)*50)+ 0( rgpd) =2000 .
Est ceque c'est possible avec JOTFORM ?
Merci d'avance,
Patrick
-
Gian Jotform SupportRépondu le 12 juillet 2024 à 09:00
Hi PROSPA_Patrick,
Thanks for reaching out to Jotform Support. Our French 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 French, 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, that is possible using the Form Calculation widget. Let me walk you through the process:
- For the additional pages field, you can use the Number element and for the GDPR question, you can use a Single Choice field.
- For the GDPR option, assign a calculation value to the Yes option since it will cost an additional 200. Here's how:
- Add the Form Calculation widget to perform a calculation based on the answer from the two fields:
- Check the screencast below showing how to add the formula:
Here's the result:
Give it a try and let us know if you need any other help.
-
PROSPA_PatrickRépondu le 12 juillet 2024 à 09:36
Bonjour Gian,
vous pouvez continuer le support avec Google Translate. Je ne souhaite pas avoir un francophone d'une façon obligatoire.
Merci pour votre réponse, elle va dans le sens de ce que j'attends.Je vais tester demain après-midi et je vais revenir vers vous.
Patrick
-
PROSPA_PatrickRépondu le 13 juillet 2024 à 04:56
Bonjour Gian,
merci beaucoup pour l'aide.
J'ai appliqué vos recommandations et ça fonctionne.
Juste un petit détail. il n'y a nulle part de marquer que les éléments doivent être mis en noir si on ne veut pas qu'ils apparaissent et en gris si on veut qu'ils apparaissent.
Je vous ai fait une vidéo
https://komododecks.com/recordings/mZYiCTb5t5jq5C8p3in2je pense que je vais souscrire à votre produit.
Merci beaucoup Gian,
Patrick
-
Mary Eden Jotform SupportRépondu le 13 juillet 2024 à 07:22
Hello Patrick,
It looks like you're having issues with how the Form Calculation Widget interprets numbers and Strings in your form. Is that correct? Please note that the number in the Form Calculation widget means that you selected the value type as a Number. The numbers/trailing 0-9 are used to easily distinguish from the String value type. The String value type uses A-Z trailing and is used to show texts in the Form Calculation widget. Let me show you the difference between these two features:
- Performing calculations using the Number in the Form Calculation Widget.
- Adding text using String in the Form Calculation Widget.
If you make calculations and by accident consider one of the formulas as String, you will not get the correct result. Here's an example that shows this.
Give it a try and reach out again if you have any other questions.
- Performing calculations using the Number in the Form Calculation Widget.
-
PROSPA_PatrickRépondu le 13 juillet 2024 à 12:58
Bonjour Mary Eden,
merci pour l'information j'ai modifié le formulaire.