Can I set a default value in the matrix radio button?

  • Profile Image
    Ahurley24
    Asked on May 14, 2016 at 09:01 AM

    In the attached form we require a response for each line.  Respondent is asked to provide a ranking from 1-10 or N/A.  We would like the default to be N/A

  • Profile Image
    Carina
    Answered on May 14, 2016 at 09:36 AM

    Yes it is possible if you use the source code of the form.

     https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form 

    Then you need to add a property to the radiobutton option that you want to select:

    checked="checked"

     

    Let us know if we can assist you further.

  • Profile Image
    Ahurley24
    Answered on May 14, 2016 at 10:40 AM

    I struggle with identifying the appropriate place to embed the code.  Would it be possible to instruct further?  What is the precise code to include and where exactly should it be placed.  

    there is over 100 lines of code.  I don't know where to place the code, and exactly what the code should be.  Thanks in advance for your assistance.

  • Profile Image
    Jan
    Answered on May 14, 2016 at 11:39 AM

    You need to add that attribute (checked="checked") in the NA column of each item in the Matrix table. Here's an example:

    Here's the result:

     

    Hope that helps. Thank you.

  • Profile Image
    Ahurley24
    Answered on May 14, 2016 at 02:21 PM

    is there a way to to do this once in the code and copy it across so that each name defaults to the N/A? Since there are over 100 names it is time consuming to find each and add the code.

  • Profile Image
    Ahurley24
    Answered on May 14, 2016 at 02:42 PM

    I have attempted to edit the code as you suggested.  I cannot go in and edit the code nor can I copy and paste the code of edited in word.  I am at a loss as to how to add the attribute u identified.

  • Profile Image
    Jan
    Answered on May 14, 2016 at 03:17 PM

    You need to open the HTML file to a text editor like Notepad++. Please don't open the code in Word program.

     

    Unfortunately, you need to add that code on each item in the matrix table under the N/A column. You can hire a programmer that can help you create a script for that function if you like.

    Thank you.

  • Profile Image
    Ariela
    Answered on February 16, 2017 at 04:13 AM

    Hello,

    How Do I upload the sourcecode to the jotform-page?

    Thank you very much.