Looking for radio button matrix with custom validations

  • Profile Image
    ttbj
    Asked on July 31, 2015 at 03:07 PM

     

     

    Revised question:

    How can I use a matrix with radio buttons so that:

    -At least one radio button in the matrix must be selected by the user,

    -The user does not have to select a radio button in each row,

    -The user cannot select more than one option within a row, and

    -Users can deselect any radio button?

    I've tried the check box option, but it allows multiple selections within a row.  I would prefer to not use an N/A column since it is not required by the question for my matrix.

     

    I have already I tested all of the available selection options (check boxes, radio buttons, drop down menus, etc) and the requirement restrictions (require at least one selection, etc.). 

    However, I could not find a combination of the options and restrictions that would meet all four of the above functions in my matrix.  If anyone knows a way to do this, please respond.  My goal with this matrix is to prevent unnecessary information resulting from an accidental click from a user.

  • Profile Image
    Mike
    Answered on July 31, 2015 at 05:01 PM

    As far as I understand, the Radio Button items are not designed to be deselectable in general. We use standard input type="radio" for Radio Button items, so this is just how it works in internet browsers.

    Unfortunately, available required validation modes do not match your criteria either.

    The Radio Button fields can be configured with Spread Columns parameter, so this might be an alternative to the Matrix field in some cases.

    If you need any further assistance, please let us know.

  • Profile Image
    ttbj
    Answered on August 05, 2015 at 11:03 AM

    Thank you! I would love to receive an update if this functionality is later added.

  • Profile Image
    Ben
    Answered on August 05, 2015 at 02:09 PM

    To do that we would need to raise this to our developers as a feature request, which we would be happy to do for you.

    Before doing that, I would just like to mention something else as well, but will use the points you have given above as a reference (but in a slightly different order):

    -Users can deselect any radio button?  - This, as mentioned by my colleague would not be possible due to how browsers handle radio buttons, so you would need to use checkboxes

    -The user cannot select more than one option within a row, and

      - To achieve this, I would add several checkboxes instead - one being a single row, limiting them to a single choice to be selected only.

    -The user does not have to select a radio button in each row,

    -At least one radio button in the matrix must be selected by the user,

      - These two can be accomplished by utilizing conditions to check if all rows are empty, in which case they are marked as required to not allow submission to be made, allowing us to ask for single input and for multiple inputs.

    To demonstrate this, I have created a quick and simple form that you can see here: http://form.jotformpro.com/form/52165438674967

    If that is what you are after, do let us know and we would be happy to guide you through any specific parts that might not be a clear how to achieve.

    You can also clone the form above to your account for further inspection by following the steps here: How to Clone an Existing Form from a URL