Hi @monicaamb12
I hope you’re well today!
I understand that “option 1” and “option 2” would be “nubmer” type fields where user can enter value, right?
It’s doable but you will need multiple HTML type fields to show your messages and and additional calculation field. Here’s how to do this:
1. add both number fields to your form (let’s say it’s number-1 and number-2) and set their limits to 0-10; make sure to set format to 0 decimals for these two fields.
2. add a calculation field to the form; make sure to set its format to use 2 decimals;
3. as a formula for calculation field simply divide number-1 by number-2 like this
{number-1}/{number-2}
4. now add first HTML field and set its visibility rule to be
Show if ALL
Calculation is less than 1
This will be the message to show if first number is less than second.
4. add second HTM field like this but this time visibility rule would be
show if ALL
Calculation is 1
This field would show if both numbers are equal
5. finally, add third HTML field and set visibility rule as
show if all
Calculation is greater than 1
and this will show if second number is higher than the first one.
This should work just fine for number from 1 – 10.
You may need to add some additional rules and/or HTML field for cases when one or both of these numbers are 0 but the foundation would be as described above.
Here you’ll find an example form like this so you can import it to your site, test and take a closer look at configuration:
https://pastebin.com/9bNL3mJK
Best regards,
Adam