Gaps visible inside a pdf

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.

3

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>>
3 Likes


@Steve

1 Like

It appears you need a space between <<If: and ISNOTBLANK([Floor])>>:

image

Having a space between ‘If:’ and ‘ISNOTBLANK()’ does not solve the problem.

Following gives no error:
image

Following gives an error:

image

Error:

Following also gives an error:
image

Error:

Please contact support@appsheet.com for help with this.