When you automate the client address in your template, they may have Address Line 2.
If a field is inserted in the template and the field doesn't have a value at the time of drafting, it will leave the field name in the document.
So for example, if your client doesn't have an Address Line 2, your document would be like this:
β
There is an easy way to remedy this, so you don't have to do any manual work on the document!
β
Step 1: Create the conditional field
Condition 1 :
IF "Street Address Line 2" is empty ( so there is no value in MyCase for that client)
THEN (insert the value of Street Address Line 1)
β
Condition 2 :
IF "Street Address Line 2" is not empty ( so there is value in MyCase for that client)
THEN (insert the value of Street Address Line 1, then Street Address Line 2 in a new line)
β
To set up these conditions, you need to reference the Street fields' values in your THEN statement. Also, the second condition THEN statement must be a multiline text to keep the correct formatting.
Step 2: Insert the conditional field in your template
You do not need to insert the Street fields in your template, only the conditional field