How to avoid showing a text field on PDF if a condition is in place