Add new row header in the matrix table base on what is entered in the "other" option of a checkbox field

  • Profile Image
    sunrosea
    Asked on September 17, 2016 at 07:10 AM

    Hi!

     

    I've got multiple checkboxes that you can choose from in my form. I've also got a "other" field where you can specify your own value.

    Then I have a matrix where I'd like to insert a label on a row, based on the "other" fields value.

     

    Is this possible?

    Here's an image to demonstrate it:

  • Profile Image
    Mike_G
    Answered on September 17, 2016 at 10:02 AM

    To my understanding, you would like to have whatever value it is on the "Other" textbox of the checkbox field to be passed to the matrix field as a new row header, is that correct?

    Apologies for any inconvenience, however, I'm afraid it would not be possible. The matrix's row headers or column headers are plain text that is already fixed once declared.

    May we know what form are you working on and what are you trying to achieve, we will be glad to check if there are any other workaround available. Thank you.

  • Profile Image
    sunrosea
    Answered on September 17, 2016 at 10:23 AM

    Hi! Yes you understood me correctly.

    Would be nice if you could make that a feature sometime, as I can see how valuable that could be. :)

     

    Something I was noticing when I was working on a workaround, is:

    1. When you pass {fieldname} from a "other" field value,  it works, BUT it only shows the default placeholder "other" instead of the value, even if the "other" field is filled (in this case "annat" is "other" in Swedish):

    2. Placing a {fieldname} value into text in a new question, this value shows up first in the text, instead of at the place it was placed at:

    Regards

    Sara

     

  • Profile Image
    Mike_G
    Answered on September 17, 2016 at 01:46 PM

    Thank you for confirming. I will send a feature request on your behalf to our development team. However, I cannot give you any guarantee that this will be available anytime soon. Our developers will still look into this and check its feasibility.

    With regards to your other concerns:

    1. When you pass {fieldname} from a "other" field value,  it works, BUT it only shows the default placeholder "other" instead of the value, even if the "other" field is filled 

    This is because you have set calculation values to your checkbox field. I see that you have placed the value "Annat" for the "Other" option.


    2. Placing a {fieldname} value into text in a new question, this value shows up first in the text, instead of at the place it was placed at:

    I was able to reproduce this issue with a clone version of your form, however, when I created a test form and copied your form fields, it seems to be working fine.

    Below is a link to the test form.

    https://form.jotform.com/62604896376973

     

    Please allow me some time to further inspect your form to find out what's causing such issue.

    Thank you.