Hi @glenemile
I hope you’re well today!
That fully doable but instead of poll you’d use form for that.
First thing would be to create a form that would gather data and make calculations (note: I’ll use default field names in example below):
1. Create a blank form
2. Add two “number” type fields
– first one {number-1} may be your “How long is the wall(m)?” field
– second one {number-2} may be your “How tall is the wall (m)?” field
– you can set those questions as field labels
– make sure that both fields have calculations enabled
3. Add two “calculation” type fields
– first one {calculation-1} will be your number of bags of cement
– in its configuration in “Calculations” section set following formula
({number-1}*{number-2})*X
replacing X with a value representing cement ratio
– second one {calculation-2} will be your number of bags of sand
– in its configuration in “Calculations” section set following formula
({number-1}*{number-2})*Y
replacing Y with a value representing sand ratio.
That’s pretty much it and the basic solution is ready. However, since it’s a form you might want to do some additional tweaking. For example, you might not want to store results in database (this can be disabled in form settings) or you may want to actually send results to the customer (you can set that in “Email Notifications” section of form configuration).
I hope that helps!
Best regards,
Adam
Wow thanks awesome!
I would like to reveal the answer after they submit their numbers. Is there a facility for this?
Hello @glenemile,
I hope you’re doing well!
It can be done with the Formonator plugin. Please edit the quiz, in the Behavior tab, you may choose to display right or wrong answers in real-time or after submission is made.
Please see this screenshot:
https://monosnap.com/file/lQYXMbr3gfsJFKG9EaquQYyudmYuQL
Correct and incorrect messages can be customized as well 🙂
Let us know if you will have any further questions!
Have a good day and take care!
Cheers,
Nastia
Really appreciate the help, but I seem to be falling between a Form and Quiz.
The calculation works great for the form.
The behaviour works great for the quiz.
The difference is that the form needs submitting…so i don;t want that, but need the calculation aspect.
Is thsi somethig I can use Fomrinator for?
Hi @glenemile
I hope you’re well today!
You can’t switch form submitting off but you can kind of “fake it” if the form solution works for you.
In form settings (of the specific form) you can disable “Data Storage” option in “Settings” section so no data will be saved to the database and in “Email Notifications” you can remove all the e-mail notifications. This way the form will only “be there” but won’t submit any data.
Furthermore, if you got form set to Ajax submission and Ajax loading method, with inline validation (“Enable inline validation (as user types)”) you could probably also hide “Submit” button with CSS and still keep the form doing calculations.
That’s just an idea but I think you might want to give it a try 🙂
Best regards,
Adam