I have created a work address field for an employee on my smartfrom.
None of the fields are mandatory so i would like my form to remove a line/carriage return if the field is blank.
I have tried to do it this way using the command option
IF NOT &P0006-STRAS& = ' '
&P0006-STRAS&
ENDIF
IF NOT &P0006-LOCAT& = ' '
&P0006-LOCAT&
ENDIF
Etc.....
Is there an simple way to do this or am i missing anything that may be causing this not to work?