What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Conditions on Rating field - Actions are being made even when not all of the conditions were met

    Asked by grade4pagasa 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. 

    - Randy

    Page URL:
    https://form.jotform.me/53495256389470?

    Screenshot
    condition logic
  • Profile Image

    Answered by Ben 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.

  • Profile Image

    Answered by grade4pagasa 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

     

  • Profile Image
    JotForm Support

    Answered by Kevin_G on December 16, 2015 at 03:33 PM

    Hi,

    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.

    Thanks.

  • Profile Image

    Answered by grade4pagasa on December 23, 2015 at 10:51 PM

    hi guys. 

    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?

  • Profile Image
    JotForm Support

    Answered by mert on December 24, 2015 at 04:51 AM

    Hi there,

    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.


    Thanks.

  • Profile Image

    Answered by grade4pagasa on December 24, 2015 at 05:59 AM

    hi mert. 

    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 ! 

  • Profile Image
    JotForm Support

    Answered by Charlie 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.

  • Profile Image

    Answered by grade4pagasa 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? 

    Thanks. 

    - Randy

  • Profile Image
    JotForm Support

    Answered by Charlie 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.

  • Profile Image

    Answered by grade4pagasa 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. 

    - Randy

     

  • Profile Image
    JotForm Support

    Answered by Kevin_G on January 07, 2016 at 01:50 PM

    Hi,

    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.

    Thanks.

  • Profile Image
    JotForm Support

    Answered by NicholasWestley on May 29, 2016 at 12:31 PM

    Hi,

    This bug has now been fixed.  ISFILLED and ISEMPTY conditions will work properly for ratings filled.

    Sorry for the delay.

    Regards,

    Nicholas