{
  "_template": {
    "slug": "session-evaluation-form",
    "name": "Session Evaluation Form",
    "version": 1,
    "specVersion": 1,
    "source": "https://www.regform.com/form-templates/session-evaluation-form"
  },
  "form": {
    "title": "Session Evaluation Form",
    "nav": {
      "mode": "free",
      "backLabel": "Back",
      "nextLabel": "Next",
      "submitLabel": "Submit Evaluation",
      "showProgress": true,
      "validatePerStep": true
    },
    "steps": [
      {
        "id": "step-session",
        "title": "Session",
        "fields": [
          {
            "id": "f-intro",
            "key": "intro",
            "type": "text_block",
            "label": "",
            "required": false,
            "hidden": false,
            "options": [],
            "content": "<p>This takes about two minutes. Your answers go to the programme committee and to the speaker in summary form.</p>"
          },
          {
            "id": "f-session-code",
            "key": "session_code",
            "type": "text",
            "label": "Session Code",
            "required": true,
            "hidden": false,
            "options": [],
            "prefill": {
              "key": "code",
              "type": "queryParam"
            },
            "description": "Prefilled from your session link or QR code."
          },
          {
            "id": "f-session-title",
            "key": "session_title",
            "type": "text",
            "label": "Session Title",
            "required": true,
            "hidden": false,
            "options": [],
            "prefill": {
              "key": "title",
              "type": "queryParam"
            },
            "description": "Prefilled. Check this is the session you attended."
          },
          {
            "id": "f-speaker-name",
            "key": "speaker_name",
            "type": "text",
            "label": "Speaker",
            "required": false,
            "hidden": false,
            "options": [],
            "prefill": {
              "key": "speaker",
              "type": "queryParam"
            }
          }
        ]
      },
      {
        "id": "step-content",
        "title": "Content",
        "fields": [
          {
            "id": "f-overall-rating",
            "key": "overall_rating",
            "type": "linear_scale",
            "label": "Overall, how would you rate this session",
            "required": true,
            "hidden": false,
            "options": [],
            "linearScaleMax": 5,
            "linearScaleLowLabel": "Poor",
            "linearScaleHighLabel": "Excellent"
          },
          {
            "id": "f-low-rating-detail",
            "key": "low_rating_detail",
            "type": "textarea",
            "label": "What specifically fell short",
            "required": false,
            "hidden": true,
            "options": [],
            "description": "Shown when the overall rating is low.",
            "placeholder": "The more specific the better"
          },
          {
            "id": "f-objectives-met",
            "key": "objectives_met",
            "type": "linear_scale",
            "label": "The session met its stated learning objectives",
            "required": false,
            "hidden": false,
            "options": [],
            "linearScaleMax": 5,
            "linearScaleLowLabel": "Strongly disagree",
            "linearScaleHighLabel": "Strongly agree"
          },
          {
            "id": "f-relevance",
            "key": "relevance",
            "type": "linear_scale",
            "label": "The content was relevant to my work",
            "required": false,
            "hidden": false,
            "options": [],
            "linearScaleMax": 5,
            "linearScaleLowLabel": "Strongly disagree",
            "linearScaleHighLabel": "Strongly agree"
          },
          {
            "id": "f-content-level",
            "key": "content_level",
            "type": "radio",
            "label": "The level of the content was",
            "required": false,
            "hidden": false,
            "options": [
              {
                "label": "Too basic",
                "value": "Too basic"
              },
              {
                "label": "About right",
                "value": "About right"
              },
              {
                "label": "Too advanced",
                "value": "Too advanced"
              }
            ]
          },
          {
            "id": "f-will-apply",
            "key": "will_apply",
            "type": "linear_scale",
            "label": "I will apply something from this session in my work",
            "required": false,
            "hidden": false,
            "options": [],
            "linearScaleMax": 5,
            "linearScaleLowLabel": "Strongly disagree",
            "linearScaleHighLabel": "Strongly agree"
          }
        ]
      },
      {
        "id": "step-speaker",
        "title": "Speaker",
        "fields": [
          {
            "id": "f-speaker-knowledge",
            "key": "speaker_knowledge",
            "type": "linear_scale",
            "label": "The speaker knew the subject",
            "required": false,
            "hidden": false,
            "options": [],
            "linearScaleMax": 5,
            "linearScaleLowLabel": "Strongly disagree",
            "linearScaleHighLabel": "Strongly agree"
          },
          {
            "id": "f-speaker-delivery",
            "key": "speaker_delivery",
            "type": "linear_scale",
            "label": "The speaker presented clearly and held my attention",
            "required": false,
            "hidden": false,
            "options": [],
            "linearScaleMax": 5,
            "linearScaleLowLabel": "Strongly disagree",
            "linearScaleHighLabel": "Strongly agree"
          },
          {
            "id": "f-speaker-questions",
            "key": "speaker_questions",
            "type": "linear_scale",
            "label": "Questions were handled well",
            "required": false,
            "hidden": false,
            "options": [],
            "linearScaleMax": 5,
            "linearScaleLowLabel": "Strongly disagree",
            "linearScaleHighLabel": "Strongly agree"
          },
          {
            "id": "f-invite-again",
            "key": "invite_again",
            "type": "radio",
            "label": "I would attend another session by this speaker",
            "required": false,
            "hidden": false,
            "options": [
              {
                "label": "Yes",
                "value": "Yes"
              },
              {
                "label": "No",
                "value": "No"
              },
              {
                "label": "Not sure",
                "value": "Not sure"
              }
            ]
          }
        ]
      },
      {
        "id": "step-bias",
        "title": "Balance and Independence",
        "fields": [
          {
            "id": "f-bias-intro",
            "key": "bias_intro",
            "type": "text_block",
            "label": "",
            "required": false,
            "hidden": false,
            "options": [],
            "content": "<p>Most accrediting bodies require us to ask this and to act on any report.</p>"
          },
          {
            "id": "f-commercial-bias",
            "key": "commercial_bias",
            "type": "radio",
            "label": "Did You Perceive Any Commercial Bias in This Session",
            "required": true,
            "hidden": false,
            "options": [
              {
                "label": "No",
                "value": "No"
              },
              {
                "label": "Yes",
                "value": "Yes"
              }
            ],
            "description": "Promotion of a specific product, service or company beyond what the subject required."
          },
          {
            "id": "f-bias-details",
            "key": "bias_details",
            "type": "textarea",
            "label": "Describe the Bias You Observed",
            "required": false,
            "hidden": true,
            "options": [],
            "description": "What was said or shown, and by whom. This goes to our education committee."
          }
        ]
      },
      {
        "id": "step-credit",
        "title": "Continuing Education Credit",
        "fields": [
          {
            "id": "f-claiming-credit",
            "key": "claiming_credit",
            "type": "radio",
            "label": "Are You Claiming Continuing Education Credit",
            "required": true,
            "hidden": false,
            "options": [
              {
                "label": "No",
                "value": "No"
              },
              {
                "label": "Yes",
                "value": "Yes"
              }
            ]
          },
          {
            "id": "f-attendee-name",
            "key": "attendee_name",
            "type": "text",
            "label": "Your Full Name",
            "required": false,
            "hidden": true,
            "options": []
          },
          {
            "id": "f-attendee-email",
            "key": "attendee_email",
            "type": "email",
            "label": "Your Email Address",
            "required": false,
            "hidden": true,
            "options": [],
            "description": "Your certificate is sent here."
          },
          {
            "id": "f-credit-type",
            "key": "credit_type",
            "type": "dropdown",
            "label": "Credit Type",
            "required": false,
            "hidden": true,
            "options": [
              {
                "label": "General",
                "value": "General"
              },
              {
                "label": "Ethics",
                "value": "Ethics"
              },
              {
                "label": "Technical",
                "value": "Technical"
              },
              {
                "label": "Clinical",
                "value": "Clinical"
              }
            ],
            "multiple": false,
            "description": "Replace these with the credit types your accreditation issues."
          },
          {
            "id": "f-license-number",
            "key": "license_number",
            "type": "text",
            "label": "License or Registration Number",
            "required": false,
            "hidden": true,
            "options": []
          },
          {
            "id": "f-attendance-attestation",
            "key": "attendance_attestation",
            "type": "checkbox",
            "label": "I attest that I was present for the full session",
            "required": false,
            "hidden": true,
            "options": []
          }
        ]
      },
      {
        "id": "step-comments",
        "title": "Comments",
        "fields": [
          {
            "id": "f-most-valuable",
            "key": "most_valuable",
            "type": "textarea",
            "label": "What was most valuable about this session",
            "required": false,
            "hidden": false,
            "options": [],
            "placeholder": "Optional"
          },
          {
            "id": "f-improvements",
            "key": "improvements",
            "type": "textarea",
            "label": "What would have made it better",
            "required": false,
            "hidden": false,
            "options": [],
            "placeholder": "Optional"
          },
          {
            "id": "f-future-topics",
            "key": "future_topics",
            "type": "text",
            "label": "What related topic would you want next year",
            "required": false,
            "hidden": false,
            "options": [],
            "placeholder": "Optional"
          }
        ]
      }
    ],
    "theme": "light",
    "cookieNotice": {
      "enabled": true,
      "privacyPolicyUrl": ""
    },
    "integrations": [
      {
        "key": "confirmation_email",
        "enabled": true,
        "settings": {
          "bodyHtml": "<p>Thank you. Your evaluation has been recorded. If you claimed continuing education credit, your certificate follows once attendance is verified.</p>",
          "includeCalendarLinks": false,
          "includeSessionIcsFile": false,
          "includeEventCalendarLink": false
        }
      }
    ],
    "notifications": {
      "emailOwnerOnSubmission": false
    },
    "thankYouMessage": "Thank you. Your evaluation has been recorded and goes to the programme committee.",
    "showLanguageSelector": false
  },
  "rules": [
    {
      "id": "rule-low-rating",
      "actions": [
        {
          "action": "show_field",
          "target": "low_rating_detail"
        },
        {
          "action": "require_field",
          "target": "low_rating_detail"
        }
      ],
      "conditions": [
        {
          "fact": "overall_rating",
          "value": 2,
          "operator": "lessThanInclusive"
        }
      ],
      "logicType": "all",
      "description": "Ask what fell short when a session is rated poorly",
      "evaluationMode": "immediate"
    },
    {
      "id": "rule-bias-details",
      "actions": [
        {
          "action": "show_field",
          "target": "bias_details"
        },
        {
          "action": "require_field",
          "target": "bias_details"
        }
      ],
      "conditions": [
        {
          "fact": "commercial_bias",
          "value": "Yes",
          "operator": "equal"
        }
      ],
      "logicType": "all",
      "description": "A bias report must be described",
      "evaluationMode": "immediate"
    },
    {
      "id": "rule-credit-claim",
      "actions": [
        {
          "action": "show_field",
          "target": "attendee_name"
        },
        {
          "action": "require_field",
          "target": "attendee_name"
        },
        {
          "action": "show_field",
          "target": "attendee_email"
        },
        {
          "action": "require_field",
          "target": "attendee_email"
        },
        {
          "action": "show_field",
          "target": "credit_type"
        },
        {
          "action": "require_field",
          "target": "credit_type"
        },
        {
          "action": "show_field",
          "target": "license_number"
        },
        {
          "action": "require_field",
          "target": "license_number"
        },
        {
          "action": "show_field",
          "target": "attendance_attestation"
        },
        {
          "action": "require_field",
          "target": "attendance_attestation"
        }
      ],
      "conditions": [
        {
          "fact": "claiming_credit",
          "value": "Yes",
          "operator": "equal"
        }
      ],
      "logicType": "all",
      "description": "Credit claims need identity, licence and an attendance attestation",
      "evaluationMode": "immediate"
    }
  ]
}