I am using Docmosis to generate data into a table. A blank row appears underneath the table heading and between each row containing data.
I suspect my issue is occurring because of the statements using: <<$isLender>>
I have considered using <<else_ to handle behaviour when <<$isLender>> is true or false however can't seem to find a working solution to remove the blank row. Any advice would be appreciated.
| Name | Address |
|---|---|
<<rr_submittingConveyancer.representees>> |
|
<<$isLender=false>><<rs_party.roles>><<cs_{type=’lender’}>><<$isLender=true>><<es_{type=’lender’}>><<es_party.roles>> |
|
<<cr_$isLender>> |
| Name | Address |
|---|---|
| Joe Bloggs | A1 address of the property |
| Big Company | B1 Current proprietor's address |
The contents of a cell/row are not automatically removed even if the expressions etc result in a blank.
In this case, you have logic to calculate
$isLenderin a row by itself. The simplest solution is to move that logic into the cell with the<<rr_submittingConveyancer.representees>>. The variable will be set, but not leave a row in the output.