Skip to content

Instantly share code, notes, and snippets.

@fightingmonk
fightingmonk / gform-shuffle-sections.md
Created January 16, 2023 01:15
Google form section shuffler

Google form section shuffler

Google Apps Script for randomizing the order that sections are presented in a Google Form

Note that this works by randomizing the transition rules between sections in the form every 5 minutes. As of January 2023 it doesn't appear there is a way to shuffle the section order when the form is loaded by a respondent.

Setup

  1. Create a Google Form
class Foo:
__init__(self):
self.bar = 'baz'
foo = Foo()
def thingey(self):
return self.bar
foo.thang = thingey
class Foo:
__init__(self):
self.bar = 'baz'
foo = Foo()
print getattr(foo, 'bar')