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 use drop down field in matrix calculation

    Asked by Communicaid on March 04, 2016 at 07:20 AM

    Hello,
    I've created a matrix question with dropdown list "yes" and "no" and I would like to add the values to the "yes"=1 and "no"=0.
    my question is: can I use the same role like here http://eu.jotform.com/help/343-How-to-perform-form-calculation-in-the-Matrix-field : yes1? 
    what is the css code to hide the numbers? 
    Thank you in advance for your help

    dropdown list matrix dropdown JotForm style size font
  • Profile Image
    JotForm Support

    Answered by beril on March 04, 2016 at 09:18 AM

    First of all when I've checked your conditions I see that there are missing data. You need to correct them.

    In addition to that when I've checked your form I realized that Your matrix field is hidden. Please note that, the hidden fields will not able to seen on the form. I will show how to use matrix tool on calculation :

     

  • Profile Image
    JotForm Support

    Answered by beril on March 04, 2016 at 10:46 AM

    I've checked again. I though that it is  not possible to use drop down field on matrix field if you want to use it for calculation. However, now I've realized that you can also use drop down field while using calculation.=)

    I will show you again how to do that:

    After selecting your matrix field we will use 1 value for yes option.

    To do that, update your column as you see below:

    Here is how it works:

    Please, also test it on your side and let us know the result. Here is your cloned form. Feel free to clone it.

    https://form.jotform.com/60634318751960

    I look forward to hearing from you.

    If you have any question or issues, please do not hesitate contacting us. We will be glad to assist you.

  • Profile Image

    Answered by Communicaid on March 18, 2016 at 09:14 AM

    Thank you for your reply. 

    Calculation it's ok

    Now another question is : what is the css code to hide the numbers within the dropdown list?

     

  • Profile Image
    JotForm Support

    Answered by beril on March 18, 2016 at 10:55 AM

    You're most welcome. We are glad to hear that everything is ok for matrix calculation. You can delete the numbers from your label as you see below:

     

    If you need further assistance please let us know. We will be happy to assist you.

  • Profile Image

    Answered by Communicaid on March 18, 2016 at 11:04 AM

    Hello Beril,

    I can't deleted it. I need this number for the matrix calcutaiton :-)

    I would like  to be able to hide and nod delete it. so the question is steal valide:  Do you know what is the CSS code of the content of the dropdown list?

     

  • Profile Image
    JotForm Support

    Answered by beril on March 18, 2016 at 11:25 AM

    You're completely right. =D I thought them they are just a label. I see that they are not. If we delete them it is not working=)

    Let me try to figure out how to do that. I will get back to you with a solution.

  • Profile Image
    JotForm Support

    Answered by beril on March 18, 2016 at 12:33 PM

    I couldn't find a solution for you yet. =( However, I will check deeper and I will update you via this thread as soon as possible.

  • Profile Image

    Answered by Communicaid on March 18, 2016 at 12:36 PM

    Beril, Thank you very much for your help :-)

     I hope you will find the answer! 

  • Profile Image

    Answered by Communicaid on March 23, 2016 at 04:06 AM

    Hi Beril,

    Did you manage to find the solution? 

  • Profile Image
    JotForm Support

    Answered by beril on March 23, 2016 at 04:56 AM

    Hi again,

    Unfortunately, I see that it is not possible to hide that value due to depend on calculation.=( I've also asked it to my colleague and  he also corrected me.

    In addition To that when I've checked your form I see that it is so slow.

    Here is how it works on my side:

    That problem occurs due to you are creating conditions with hidden box fields on your form as you see below:

    Please note that hidden box fields is different from hiding with conditions.  Hidden box fields can never be displayed in a form because they use the html tag <input type="hidden"> which, when interpreted by the browser is a field that's invisible to the user. Because of that reason, there will be a conflict and your form will work slow.

     I suggest you to show those fields as you see below:

    Please, check the guide below for more information:

    http://www.jotform.com/help/316-How-to-show-or-hide-a-field-in-the-form-based-on-the-other-field-input-or-selection

    If you have any question or issues, please do not hesitate contacting us. We will be glad to assist you.