Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SMART Forms , paragraph format.

kowong
Participant
0 Likes
296

Dear Expert,

First of all, please refer to this. [here|http://wkokwei.googlepages.com/paragraph.jpg]

I am trying to eliminate blank lines of the Text in the smart forms.

example:

&text1&

&text2&

&text3&

&text4&

Those text are variable, if it have no value, i dont want to print the empty line.

"IF - ELSE " statements doesnt work.

say if text1 is "AAA", text2 is " ", text3 is "CCC", text4 is "DDD".

It will print as:

AAA

CCC

DDD

instead of:

AAA

CCC

DDD

and i found there is a setting in the paragraph format (refer to the link above),

"No blank lines" option.

Where to change this? I have tried to look into SMARTSTYES, didnt find it.

gosh.... smartform is **** smart..... this is making me crazy .....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
273

Hi,

If you don't have too many texts, you can create one text element for each and print it only if your variable if filled, that is &text1& is not initial in the condition tab.

This way you'll get no blank lines and don't have to bother with styles.

Regards,

S

1 REPLY 1
Read only

Former Member
0 Likes
274

Hi,

If you don't have too many texts, you can create one text element for each and print it only if your variable if filled, that is &text1& is not initial in the condition tab.

This way you'll get no blank lines and don't have to bother with styles.

Regards,

S