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

    How to make One Item non-selectable if you choose another with the Inventory Widget?

    Asked by helpchrisplz on August 22, 2014 at 08:43 AM
    how to make one non selectable if you choose another.  e.g if I have many options with quantity's but if the user selects A then B is no longer a compatible choice so B is now hidden or non selectable but C and D are still available as they are compatible with A.
  • Profile Image
    JotForm Support

    Answered by KadeJM on August 22, 2014 at 10:05 AM

    This could actually be done using some conditional logic. You would have to set up the rules to hide these as you see fit to get it to work like that though.

    Please see this example form I've made here http://form.jotform.us/form/42333812381146 to show you how to do this.

    I've set a conditional rule to HIDE the Nightstand if the Table and Chairs are both filled in.

     

  • Profile Image

    Answered by helpchrisplz on August 22, 2014 at 11:42 AM

    The way you have done it makes it not show if the user changes their mind (by changing the value back to 0). e.g. hide it then revert back to showing it.

    I have managed to nearly get it working by using: does not equal 0.

    but its not setting the value at document ready so zero doesn't get passed to the if statement and it remains hidden.

     

    Nightstands should show on page load with the current logic:

    http://form.jotformeu.com/form/42334296206351

     

  • Profile Image
    JotForm Support

    Answered by david on August 22, 2014 at 01:30 PM

    Hi,

    You could add the same condition you have for if it is equal to 0, but have the condition be set to "Is NOT Filled".  This would open the field back up if the user enters 0 or if there is nothing in the field.  This should fix the problem with resetting the document back to ready when the user changers their mind.