Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8538

Smartform If statement

$
0
0

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?


Viewing all articles
Browse latest Browse all 8538

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>