SuffolkLITLab / docassemble-MA209AProtectiveOrder

A Docassemble interview for a Massachusetts 209A Protection from Abuse Order
https://www.courtformsonline.org/dv/#209A
Other
1 stars 0 forks source link

Consider removing most of the order blocks that set variables #63

Open nonprofittechy opened 3 years ago

nonprofittechy commented 3 years ago

We have worked around this issue by using scan for variables: False but it results in red text in the Playground.

This method of setting variables is also less robust when you allow editing in a review screen.

Better option: use standalone code blocks whenever a variable needs to be set. Do it in a declarative style instead of procedural.