I would like to create a page where the user enters data, which are then processed with operations like this:
e = (a + b + c) / d
f = g + h + i
if e> f text: “Ok”
Could anyone suggest me the best solution to achieve this result?
Hello. I use the Toolbox Plugin for things like this in my apps. They have an element called expression which can be used to calculate different math equations.
For your example you will have two expressions on the page. One called Expression-e and one called Expression-f. Each one would have their calculation in it. And for the text element I would use conditional when Expression-e > Expression-f
This all works wonderfully with this plugin. Currently building a web based game which relies heavily on the expressions plugin to calculate win ratios between NPC’s and loot ratios.
Hope this helps!
very useful plugin, but if I have problems getting it to work, could I ask for help from some support service?
Hey @quidsicurezza
If you want dedicated support you can book a session with me on my site.
Otherwise, just post on here and we will try to walk you through the steps when you get stuck. It shouldn’t be too difficult, depending on how you have things set up.
You might want to use set states to store the calculations as well. It makes things simpler to work with in conjunction with the toolbox plugin that @joseph.farinhas mentioned.
The toolbox plugin is probably one of the most used plugins for myself.
Hope that helps!
For All Your No-Code Education Needs:
- One-on-One Tutoring
- eLearning Hub
- Video Tutorials
- No-Code Classes
This topic was automatically closed after 70 days. New replies are no longer allowed.