Is there a way to make a calculated value to be categoric value?
I calculated a value using form calculation I want it to appear in the end which I already do I now want to make something like if statement like If the value between 1 to 2 appear good If the value between 2.01 to 3.05 appear at risk If the value over 3.05 appear bad is there a way to make that either in thank you page or in form as hided field?
Answer:
I would like to inform you about how to display text values based on specific score ranges in your form.
1. If the value is between 1 and 2, it will display the text "Good."
2. If the value is between 2.01 and 3.05, it will display the text "Risk."
3. If the value is above 3.05, it will display the text "Bad."
To achieve this, firstly you will need to add a short text element to your form and set up conditions.
Here’s how to do it:
- Add a short text element to your form.
- Go to the conditions section and select the "Set value of element" action in the select action option.
- Choose the short text element you just added in the Select element block.
- Input the appropriate text for each condition.
- Then, in the select condition, choose the "Form Calculation" field and set the condition as equal to 1 or less than 2, it should display "Good" or modify conditions as per your needs. Follow the same process for the other score ranges to set the corresponding text values.
For guidance on adding and setting conditions in your form, please refer to this documentation: https://formnx.com/details/docs/features/condit...
If you prefer, you can hide the short text element in your form so that the remarks based on the scores do not appear in the form.
If you want the remarks to be displayed on the Thank You Page, click on the tag of the short text element to include it there. Based on the scores, the remarks will then be displayed to the users on the Thank You Page.