SuffolkLITLab / docassemble-ServiceByAltMeansAndDiligentSearch

A docassemble extension.
MIT License
0 stars 1 forks source link

Review code in searchQuestion2 branch #40

Closed zaranlilia closed 4 years ago

zaranlilia commented 4 years ago

I finished up the code we started in class and made all the check box responses conditional on the user's choices.

I added the code for the last_contact_date variable to make the date and written guess boxes conditional and I keep getting this error message. "There was a reference to a variable 'last_contact_date' that could not be looked up in the question file." I checked the id and the correct variable was there and it was in the order block. Not sure how to fix it.

I also updated the attachment block so that both the phone call and text forms of contact fill out the same checkbox.

stevejaubz commented 4 years ago

I resolved the error and added the same logic for last_contact_date and date_last_known. Removed written_guess from order block because it is no longer a field, both date field and short text fill out the same variable on the page