Live demo · Local political
Mayor race
City residency, municipal ballot leaner, incumbent path
Loading demo…
Live demo · Local political
City residency, municipal ballot leaner, incumbent path
Loading demo…
Exploration mode. This is the same Logic workspace your team uses in the builder — rules, variables, and Test logic. Nothing you change here is saved; reload the page to reset. The live respondent demo is unchanged.
IF / THEN rules for Mayor race. Expand nested groups, edit conditions, or add rules to see how the builder behaves — changes stay on this page only.
Rule 1 — Screen out — not registered
IF Question 1: Registered to vote? equals No THEN End survey
{registered_voter} = 'No'
Ends the survey (screen-out). Optional redirect below is separate from Finish options used for successful completes.
Rule 2 — Screen out — not voting locally
IF Question 3: Likelihood to vote in the municipal election equals Definitely not THEN End survey
{vote_local_likelihood} = 'Definitely not'
Ends the survey (screen-out). Optional redirect below is separate from Finish options used for successful completes.
Rule 3 — Screen out — non-resident
IF Question 2: Do you live within city limits? equals No THEN End survey
{city_resident} = 'No'
Ends the survey (screen-out). Optional redirect below is separate from Finish options used for successful completes.
Rule 4 — Hide leaner unless undecided
IF Question 4: If the election were today, who would you vote for? does not equal Undecided THEN Hide If undecided, which way do you lean?
{mayor_vote} <> 'Undecided'
Rule 5 — Skip ballot — unsure residency
IF Question 2: Do you live within city limits? equals Not sure THEN Jump to City services
{city_resident} = 'Not sure'
Rule 6 — Show roads — incumbent path (nested OR)
IF Question 2: Do you live within city limits? equals Yes AND (Question 4: If the election were today, who would you vote for? equals [Incumbent Mayor] OR Question 5: If undecided, which way do you lean? equals Lean incumbent) THEN Show Condition of roads and infrastructure
{city_resident} = 'Yes' and ({mayor_vote} = '[Incumbent Mayor]' or {mayor_lean} = 'Lean incumbent')