Skip to content

Allow scripts to vary based on custom field values #242

Description

@ajohn25

Is your feature request related to a problem? Please describe.
Sometimes the differences in an intended script based on custom fields are wider than the value of the field itself. For example:

For dems, communicate we're down in the ballot counting, for repubs, say we want every vote to be counted

Describe the solution you'd like
Allow customizing part of a script based on a custom field value, for example (pseudocode):

  • if party affiliation = dem : {cure_pitch} = "We're down 10 votes, so every cured ballot makes a difference!"
  • if party affiliation = rep : {cure_pitch} = "We want every voter's ballot to be counted!"

Some possibilities for how users could specify the script changes are described below

Describe alternatives you've considered

  1. A dialog or a larger UI built for this particular flow
  2. Integration of a templating language like Jinja

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions