Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. branching and skip logic

branching and skip logic

Scheduled Pinned Locked Moved C#
questionworkspace
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    econner
    wrote on last edited by
    #1

    I have a question survey that I need to add branching and skip logic based on how a question is answered. I need for this to be dynamic because a user can setup their own questions and determine the flow of the questions. Any suggestions or references on how start this? Is this a rule based engine?

    C L 2 Replies Last reply
    0
    • E econner

      I have a question survey that I need to add branching and skip logic based on how a question is answered. I need for this to be dynamic because a user can setup their own questions and determine the flow of the questions. Any suggestions or references on how start this? Is this a rule based engine?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Sounds like you need to define a file format where questions are defined, and answers and question flow is marked. XML would be perfect for this.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • E econner

        I have a question survey that I need to add branching and skip logic based on how a question is answered. I need for this to be dynamic because a user can setup their own questions and determine the flow of the questions. Any suggestions or references on how start this? Is this a rule based engine?

        L Offline
        L Offline
        Leslie Sanford
        wrote on last edited by
        #3

        Maybe use a decision table or tree? I agree with Christian. XML would be a good tool here.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups