Best Practices

 View Only
  • 1.  Apply conditional logic to a group of questions

    Posted 11-03-2023 02:48

    Hi,

    I'm looking for some best practice advice:

    I have a form with about 150 questions on 22 pages; about 2 sections per page.

    The form is used for maintenance of assets; depending on the time interval, we need to perform different types of maintenance:

    • light maintenance (about 50/150 questions)
    • medium maintenance ( ~100/150 questions)
    • full maintenance (all questions)

    I have now set up a dropdown at the beginnning of the form. Depending on the selection, questions are hidden / made visible. 

    This is a rather time consuming and exhausing task though because I have to mention every single questions in the conditional logic. Since its using "else if", i cannot even use the "automatic else"-feature. The questions that need to be shown/hidden are spread all over the form; I cannot show/hide pages or sections in order to filter. 

    Is there a possibility to facilitate this? I would love to have a feature to give tags to each question, e.g.

    • light
    • medium
    • full

    In the conditional logic, I would then simply hide / show alle questions depending on their tag.

    I'm happy to hear your suggestions!

    BR from Norway

    Moritz



  • 2.  RE: Apply conditional logic to a group of questions

    Staff
    Posted 11-03-2023 09:17
      |   view attached

    Hi Moritz,

    Understanding your form is already built, are the sections you have the questions grouped in, broken down by which Maintenance Type they apply to?

    IE:
    Sections 1 to 5 are for Light
    Sections 6 to 10 are for Medium
    etc, etc.

    If so, you could use the Is Ignored/Is Not Ignored conditional logic actions to hide entire sections depending on the Maintenance Type selected.
    This will allow you to show/hide groups of questions based on the section they are in. This also applies to Pages if you want to go even broader.

    I have attached an MS Excel 'Form Export' of the demo I created to test this so you see how the demo form was constructed.

    The documentation that talks to Is Ignored/Is Not Ignored is here and will provide you with more details: (Scroll down to the 'Actions' section)
    https://docs.prontoforms.com/1374411/Content/Published/218858037.html    



    ------------------------------
    Stu Rathbone
    Director - Support & Enablement
    ProntoForms
    community@prontoforms.com
    ------------------------------

    Attachment(s)



  • 3.  RE: Apply conditional logic to a group of questions

    Posted 11-03-2023 09:24

    Hi Stu,

    the maintenance activities for "light", "medium" and " full can unfortnuately not be put in one section each since a suitable sequence of the maintenance activities has priority. 

    Do you have any other suggestions?

    br

    Moritz




  • 4.  RE: Apply conditional logic to a group of questions

    Staff
    Posted 11-03-2023 09:54

    Hi Moritz,

    Other than putting the questions into smaller sections, where you can, to fit your workflow, I do not have anything off the top of my head.
    In the section properties, you can hide the Section Header on the mobile device so the user is not navigating through many sections on the device.
    This may reduce the number of objects you need to show / hide.
    The tagging idea is a good one.

    IE: Sections
    Light Group 1
    Light Group 2
    Light Group 3
    Medium Group 1
    Medium Group 2
    etc.

    Perhaps someone else has an idea?



    ------------------------------
    Stu Rathbone
    Director - Support & Enablement
    ProntoForms
    community@prontoforms.com
    ------------------------------



  • 5.  RE: Apply conditional logic to a group of questions

    Posted 11-03-2023 12:52
    Edited by Erika Lapenat 11-03-2023 12:53

    Hi Moritz, 

    Great question! As there are many ways to Rome I'm sure you'll get a few interesting takes on how to solve for this. Here are a few from my side:

    (1) The current 1 form you have, but group all the questions into Sections, or Pages, and use Conditional Logic to hide/show the corresponding Page or Section, according to their choice in the dropdown. This will cut down on the number of Conditional Logic rules. 

    (2) A simple option you may have already considered, to create entirely separate forms for each Light, Medium, and Full inspection. You can tag these forms so they're searchable in the mobile app. 

    (3) This one is a little complex, bear with me.You start with 4 separate forms, and then you could then connect them using a Dispatch Data Destination. That's highlighted here. Form #1 is the main form where they fill out the details they will have no matter what, and then Form #2 is for Light, Form #3 is for Medium, Form #4 is the Full. Then, depending on the choices in Form #1, this dispatches to one of the other 3 forms, and you can have information populate over from Form #1 into Form #2, and so on.

    You can also tag forms so that mobile users can pull up the forms directly if they need to. I made a lesson about Dispatch Data Destinations in the ProntoForms University, Level 3 training, which we're releasing this month. You could also accomplish this with a Customer Feedback Form (CFF), where Form #1 connects into Form #2, Form #3, Form #4. Then you could have the CFF be a barcode, so the mobile user arrives on site (as long as they have an internet connection), and scans the barcode which brings them to the CFF, then over to the Form #2, Form #3, Form #4 they need to continue working on. 

    I trust these are helpful! Feel welcome to reach out in case I can offer any more insights. 

    Warmly, 

    Erika



    ------------------------------
    Technical Content Developer
    ProntoForms
    ------------------------------



  • 6.  RE: Apply conditional logic to a group of questions

    Posted 11-06-2023 04:20

    Dear Erika,

    (1) The current 1 form you have, but group all the questions into Sections, or Pages, and use Conditional Logic to hide/show the corresponding Page or Section, according to their choice in the dropdown. This will cut down on the number of Conditional Logic rules. 

    As I said in my reply to Stu, this is not an option since a suitable sequence of the maintenance activities has priority.

    (2) A simple option you may have already considered, to create entirely separate forms for each Light, Medium, and Full inspection. You can tag these forms so they're searchable in the mobile app. 

    We want to keep a lean workflow to update our forms. Updating three forms including language dimensions in case of an additional task is not an option. We want to reuse our content as much as possible.

    (3) This one is a little complex, bear with me.You start with 4 separate forms, and then you could then connect them using a Dispatch Data Destination. That's highlighted here. Form #1 is the main form where they fill out the details they will have no matter what, and then Form #2 is for Light, Form #3 is for Medium, Form #4 is the Full.

    This is not an option due to the fact that a suitable sequence of the maintenance activities has priority. In addition, this option is quite difficult to maintain... 

    Could you please add "conditional logic based on tags instead of specific questions" as a feature request?

    br

    Moritz



    ------------------------------
    Moritz Waltenberger
    CEO
    ekoRail
    ------------------------------



  • 7.  RE: Apply conditional logic to a group of questions

    Staff
    Posted 11-06-2023 12:42

    Hi Mortiz, I have logged a formal Feature Request with our Product team on your behalf and mentioned other customers have also ran into this scenario, based on this thread. Thank you very much for sharing this with us.



    ------------------------------
    Stu Rathbone
    Director - Support & Enablement
    ProntoForms
    community@prontoforms.com
    ------------------------------



  • 8.  RE: Apply conditional logic to a group of questions

    Posted 11-07-2023 05:48

    Thanks, Stu!



    ------------------------------
    Moritz Waltenberger
    CEO
    ekoRail
    ------------------------------



  • 9.  RE: Apply conditional logic to a group of questions

    Adopter
    Posted 11-06-2023 05:09

    Hello Moritz,

     

    I came with the same issue and my approach was, for instance:

     

    At the beginning of the form a pick list with the type of contract: light, medium, etc.

    And 1 (or several) dropdown list with an excel datasource with all your questions that pushes the data to sections according to certain filters. The excel should have a format like format:

     

    • Type of machine
    • Type of contract
    • Question Type (yes/no;data)
    • Question number
    • Question
    • Unit of Meassure

     

    Have a repeatable section for the machines and underneath 2 repeatable sections:

     

    Section 1: yes/no questions

     

    • Q1: question
    • Q2: yes/no
    • Q3: comments

     

    Section 2: gather-data questions

     

    • Q1: question
    • Q2: unit of meassure
    • Q3: answer
    • Q4: comments

     

     

    This way your form has very few questions, it is easier to maintain and, instead of conditions you can use filters. Besides, if you decide to change the questions, you only need to change the data source not the form.

     

    I hope it helps.

     

    Regards,

     

    Alicia






  • 10.  RE: Apply conditional logic to a group of questions

    Posted 11-07-2023 05:49

    Thanks for sharing this, Alicia. Sounds promising!

    best regards

    Moritz



    ------------------------------
    Moritz Waltenberger
    CEO
    ekoRail
    ------------------------------



Reminder: Content posted to our Community is public content.  Please be careful not to post Intellectual Property that you do not have permission to share.  For more information please refer to our Terms Of Use