Hi Peter,
There is a small part that is missing in your code, plus some organization that will be needed. Your code should look something more like this:
{{#pf:if answers.B1.[0] "!is" "-"}}
<tr>
<td class = "auto-style11">
<pre>{{answers.B1.[0]}}</pre>
</td>
</tr>
{{/pf:if}}
In the following document, it explains the supported operators. In your case, you used the "is" operator, but you needed the "!is" or "not is", operator.
https://docs.prontoforms.com/1374411/Content/Published/360000634103.html
As I am sure you are aware, we also have a Professional Services team that is well versed in custom document creation. You can engage with us to quickly rectify these issues along with you. We can help answer questions, provide example code for you to use, or fully build documents to ensure you maintain timelines.
I hope this helps!
Ryan
------------------------------
Ryan Maxwell
Lead, Rapid Deployment
ProntoForms
------------------------------