TrustTheVote-Project / horatio-server

Turns JSON absentee ballot requests into PDFs and delivers them to registrars.
MIT License
1 stars 3 forks source link

Conditionally require field completion #14

Closed waldoj closed 9 years ago

waldoj commented 9 years ago

We don't want to require globally that all fields be completed, but when one section has been started, we want to make sure that it is completed. For instance, if "Delivery of Ballot" is "Mailing Address," only then do we want to require that the remaining fields in that stanza are completed. And only some ballot-request need codes necessitate that anything be provided in the explanation field.