From 898eab0880c4d50520421162e3a360f87c3d0877 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Sun, 28 Jan 2024 11:38:41 +0100 Subject: [PATCH] Extend questionnaire docs --- docs/pattern/questionnaire-page.html | 296 +++++++++++++++++++++++++++ docs/pattern/questionnaire.org | 23 ++- 2 files changed, 317 insertions(+), 2 deletions(-) diff --git a/docs/pattern/questionnaire-page.html b/docs/pattern/questionnaire-page.html index 1258c2e..acf3048 100644 --- a/docs/pattern/questionnaire-page.html +++ b/docs/pattern/questionnaire-page.html @@ -140,6 +140,302 @@
+
+ What are your favorite brands? +
    +
  1. + +
    + +
    +
  2. + +
    + +
    +
  3. + +
    + +
    +
  4. + +
    + +
    +
  5. + +
    + + +
    +
+
+
+
+ How often do you shop online? +
    +
  1. + +
    + +
    +
  2. + +
    + +
    +
  3. + +
    + +
    +
  4. + +
    + +
    +
  5. + +
    + +
    +
+
+
+
+ Which of the following devices do you own? +
    +
  1. + +
    + +
    +
  2. + +
    + +
    +
  3. + +
    + +
    +
  4. + +
    + +
    +
  5. + +
    + +
    +
+
+
+
+ What is your preferred method of payment for online purchases? +
    +
  1. + +
    + +
    +
  2. + +
    + +
    +
  3. + +
    + +
    +
  4. + +
    + +
    +
  5. + +
    + +
    +
+
+
+
+ Which social media platforms do you use regularly? +
    +
  1. + +
    + +
    +
  2. + +
    + +
    +
  3. + +
    + +
    +
  4. + +
    + +
    +
  5. + +
    + +
    +
  6. + +
    + +
    +
  7. + +
    + + +
    +
+
+
+
+ How do you usually consume news? +
    +
  1. + +
    + +
    +
  2. + +
    + +
    +
  3. + +
    + +
    +
  4. + +
    + +
    +
  5. + +
    + +
    +
  6. + +
    + +
    +
+
+
diff --git a/docs/pattern/questionnaire.org b/docs/pattern/questionnaire.org index 55c48fb..20b55f3 100644 --- a/docs/pattern/questionnaire.org +++ b/docs/pattern/questionnaire.org @@ -1,7 +1,7 @@ #+title: Creating a Questionnaire using cl-sbt/questionnaire Macros in a Web Application #+author: Marcus Kammer #+email: marcus.kammer@mailbox.org -#+date: 2024-01-27T14:40+01:00 +#+date: 2024-01-28T11:38+01:00 * Introduction Questionnaires are powerful tools for gathering information and insights from @@ -51,7 +51,26 @@ required for different types of questions in a questionnaire. :choices (:radio "Male" "Female" "Non-binary" "Prefer not to say" "Other" :text "Other")) (:ask "How many hours per day, on average, do you spend browsing the internet?" :group "webbrowsing" - :choices (:radio "Less than 1 hour" "1-3 hours" "3-5 hours" "5+ hours")))))) + :choices (:radio "Less than 1 hour" "1-3 hours" "3-5 hours" "5+ hours")) + ;; Additional Questions + (:ask "What are your favorite brands?" + :group "brands" + :choices (:checkbox "Brand A" "Brand B" "Brand C" "None" :text "Other")) + (:ask "How often do you shop online?" + :group "shopping" + :choices (:radio "Daily" "Weekly" "Monthly" "Rarely" "Never")) + (:ask "Which of the following devices do you own?" + :group "devices" + :choices (:checkbox "Smartphone" "Laptop/PC" "Tablet" "Smartwatch" "None")) + (:ask "What is your preferred method of payment for online purchases?" + :group "payment" + :choices (:radio "Credit/Debit Card" "PayPal" "Bank Transfer" "Cash on Delivery" "Cryptocurrency")) + (:ask "Which social media platforms do you use regularly?" + :group "socialmedia" + :choices (:checkbox "Facebook" "Twitter" "Instagram" "LinkedIn" "TikTok" "None" :text "Other")) + (:ask "How do you usually consume news?" + :group "newsconsumption" + :choices (:radio "Online News Websites" "Social Media" "Television" "Newspapers/Magazines" "Radio" "None")))))) (format t (generate-questionnaire-page)) #+end_src