1
0
-1

Hi, 

I'm working on Joget form, the main intension of the form is to collect answers from end-user with questionnaire. I'm unable to achieve the logic as mentioned in subject. 

I created multiple read-only fields (for Questions & Answers) with same FORM ID with the assumption that multiple questions along with their answers loaded into database table as rows when user hit SUBMIT. but it's only loading first question and answer database table, I think it will work when we create each question as separate column (filed in Joget form), to capture all questions response, but that would be poor design, we cannot change column name or add new column as the question description changes.

Kindly advise, if there is any workaround. following screenshot for the reference

    CommentAdd your comment...

    3 answers

    1.  
      1
      0
      -1

      I think you could also use an "advanced grid" or "form grid" element that loads it from jdbc. The query linked to jdbc should bring all the questions and make them available for each instance of the questionnaire. Are the multiple-choice answers always the same? or does it vary for each question?

      If it varies, you should do a cascade select box regarding the questions.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi, there is a Training Evaluation app in the Joget Marketplace at https://marketplace.joget.org/jw/web/userview/mp/mpp/_/vad?id=APP_jtraineval that contains questionnaire functionality. Perhaps this can help.

          CommentAdd your comment...
        1.  
          1
          0
          -1

          You can try to check out https://marketplace.joget.org/jw/web/userview/mp/mpp/_/vad?id=Subform_Repeater where it will print out each question as a subform.

            CommentAdd your comment...