We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 412d4a8 + 8e05162 commit 6647e85Copy full SHA for 6647e85
1 file changed
db/seeds.rb
@@ -350,7 +350,7 @@
350
name: "None of the above form",
351
pages: [
352
Page.create(
353
- question_text: "Which option do you want",
+ question_text: "Which option do you want?",
354
answer_type: "selection",
355
answer_settings: {
356
only_one_option: "true",
@@ -365,6 +365,21 @@
365
},
366
is_optional: true,
367
),
368
+ Page.create(
369
+ question_text: "What is your favourite number?",
370
+ answer_type: "selection",
371
+ answer_settings: {
372
+ only_one_option: "true",
373
+ selection_options: (0..100).map do |number|
374
+ { "name": number, value: number }
375
+ end,
376
+ none_of_the_above_question: {
377
+ question_text: "Enter a number",
378
+ is_optional: "false",
379
+ },
380
381
+ is_optional: true,
382
+ ),
383
],
384
question_section_completed: true,
385
declaration_text: "",
0 commit comments