- grade4pagasaAsked on December 16, 2015 at 01:23 PM
Hi JF support !
I'm having trouble with a simple conditional logic. On both conditions, the action will only be triggered if ALL the conditions are met (filled). However, when I enter something on the name and comments, the actions are triggered immediately (showing the hidden text field and enabling the submit button) - even without selecting a star rating yet (empty state).
What did I do wrong here?
Appreciate the help.
- RandyPage URL:
- BenAnswered on December 16, 2015 at 02:36 PM
At first it seemed as if it was working properly, but looking at it now, I see what you mean.
- I always fill out the form from A to Z, but there are people that would skip a question and they would see it before they should.
It seems to work if you select "Is Empty", but it does not work with Is Filled nor with "is Greater than" (I changed it to detect if it is higher than 0, but it is still not working.
I will raise this to our developers working on conditions to look into and we will update you as soon as there are any updates.
- grade4pagasaAnswered on December 16, 2015 at 03:07 PM
Thanks for taking this, Ben.
Another issue with this form (and could be a plausible explanation as to why the conditional logic behaves this way) is even if you select a star-rating or click the x-button to deselect it, the conditional logic completely ignores the state of the star-rating widget.
That is, the only triggers evaluated or acknowledged by the conditional logic are that of the name and comments - and ignores the star-rating widget.
- JotForm SupportKevin_GAnswered on December 16, 2015 at 03:33 PM
I have cloned your form and I can see the same issue, I tried even changing the conditions and it's not working.
The issue seems to be with the Rating field, however, my colleague already has reported it to our developers, you will get news soon via this thread.
- grade4pagasaAnswered on December 23, 2015 at 10:51 PM
any update on the bug that causes the conditional logic to disregard / bypass the star-rating or radio buttons even though they're legit triggers?
- JotForm UI DevelopermertAnswered on December 24, 2015 at 04:51 AM
Unfortunately, there is no update for the main problem about conditional logic. However, I can suggest you to use "Form Calculation" widget to show "Star Rating" field's values correctly. Please, see the example from the below:
In addition, you will be informed from this thread, when there is an update about the main issue. It will be fixed as soon as possible.
- grade4pagasaAnswered on December 24, 2015 at 05:59 AM
the text field offers more flexibility on my rating need. But the main issue is why is the star-rating widget bypassed by the conditional logic.
thanks for keeping me posted and will appreciate it very much when the update is ready.
happy holidays to you, mert, and to the entire JotForm team !
- CharlieAnswered on December 24, 2015 at 06:45 AM
Thank you for sharing your findings on this, we appreciate it. We will update you here as soon as we get any news from our developers about this problem.
- grade4pagasaAnswered on January 07, 2016 at 10:05 AM
Hi JotForm Support Team !
Asking kindly if there's update on this bug?
If none, can you recommend a workaround that will only show the text field output if ALL of the fields (name, rating & comment) are filled?
- CharlieAnswered on January 07, 2016 at 11:24 AM
I checked the status of the ticket but it is still open and unresolved.
I'm not sure if I fully understood your concern or how the form works. But could you try checking this cloned form I created: https://form.jotform.com/60064271658961. See if that's how the form should work.
- grade4pagasaAnswered on January 07, 2016 at 12:03 PM
Using a Form Calculation field did the work, Charlie ! Thanks so much for this ! :)
But pardon my curiosity. Why couldn't the Conditional Logic use that current state (status) of the Star Rating widget itself?
Mert said on this same thread that:
I can suggest you to use "Form Calculation" widget to show "Star Rating" field's values correctly. When I experimented on this last month, I assumed that a variable is created at the back-end to store the current value or state of the Star Rating widget.
Shouldn't the correct value of the Star Rating widget be detected / recognized by the Conditional Logic wizard?
What I meant was, since the Star Rating widget itself offers different states to choose from (Is Filled being 1 of them - screenshot below), shouldn't this logic work and run properly?
Put another way, why offer different states to choose from for the Star Rating widget if it won't work (but will work with the assistance of another field [form calculation] to store its current value)?
I'm not a coder and I'm just trying to understand how this works. I really appreciate all of you taking the time to answer my questions.
- JotForm SupportKevin_GAnswered on January 07, 2016 at 01:50 PM
I checked the rating field and I could see it's not like another fields, for example, text box, text area or email field.
This is a more graphically field then it needs more HTML code to be displayed. However, I tried making a sample form in order to test conditions with the rating field and I can see it's working, you can also see my form with the condition here, just fill the rating field and the text should be displayed, if the rating field is empty the text will be hidden : https://form.jotform.com/53495978491980
However, it already has been reported to our second level, and our developers are working in order to fix it.
You will receive news about it soon via this thread.
- NicholasWestleyAnswered on May 29, 2016 at 12:31 PM
This bug has now been fixed. ISFILLED and ISEMPTY conditions will work properly for ratings filled.
Sorry for the delay.