Skip to content

Commit

Permalink
Fix #824
Browse files Browse the repository at this point in the history
  • Loading branch information
nonprofittechy committed May 11, 2023
1 parent 60cbecd commit ac43625
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docassemble/ALWeaver/interview_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1169,14 +1169,13 @@ def init(self, *pargs, **kwargs):
@property
def complete(self) -> bool:
self.question_text
# see https://github.com/SuffolkLITLab/docassemble-ALWeaver/issues/783
# We no longer expose this option to use a "continue button field" on a
# regular question page. User can still manually add this in Playground.
self.has_mandatory_field = True # Means at least one question is required. If False, we add a continue button field
if self.is_informational_screen:
self.field_list.clear()
self.field_list.gathered = True
# The info screen gives it a mandatory field
self.has_mandatory_field = True
else:
# TEMP: see https://github.com/SuffolkLITLab/docassemble-ALWeaver/issues/783
self.has_mandatory_field = False

# Simplify the abstraction
if not self.has_mandatory_field or self.is_informational_screen:
Expand Down

0 comments on commit ac43625

Please sign in to comment.