How can I hide blank spaces inside a pdf?
I am using ‘if’ statements like given below:
<<If: ISNOTBLANK([Project Name])>>Project Name: <<[Project Name]>><>
<<If: ISNOTBLANK([Floor])>>Floor: <<[Floor]>><>
<<If: ISNOTBLANK([Unit No.])>>Unit No.: <<[Unit No.]>><>
So if these statements are ‘false’, I end up having large gaps within the pdf.
Remember, everything outside the <<If>>
…<<EndIf>>
block will be included always, including the blank lines between the conditionals, and even the newlines at the end of the <<If>>
lines!
Try this instead:
<<If: ISNOTBLANK([Project Name])>>
Project Name: <<[Project Name]>><<EndIf>><<If: ISNOTBLANK([Floor])>>
Floor: <<[Floor]>><<EndIf>><<If: ISNOTBLANK([Unit No.])>>
Unit No.: <<[Unit No.]>><<EndIf>>
It appears you need a space between <<If:
and ISNOTBLANK([Floor])>>
:
Having a space between ‘If:’ and ‘ISNOTBLANK()’ does not solve the problem.
Following gives no error:
Following gives an error:
Error:
Following also gives an error:
Error:
Please contact support@appsheet.com for help with this.
User | Count |
---|---|
41 | |
27 | |
27 | |
20 | |
13 |