Quickly go from a paper court form to a runnable, guided, step-by-step web application powered by Docassemble. Swap out branding and pre-built questions to meet your needs.
If the key isn't present in the provided dictionary, it should respect the default required value. E.g.,
for k in required:
if k in fields:
fields[k]["required"] = required[k]
This starts to make the _fields methods a complex way to interact with what are pretty basic fields to write out by hand, but consistency and a single API throughout the interview has value.
Something like:
required={"last": False}
If the key isn't present in the provided dictionary, it should respect the default
required
value. E.g.,This starts to make the
_fields
methods a complex way to interact with what are pretty basic fields to write out by hand, but consistency and a single API throughout the interview has value.