cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms text element alignments

Former Member
0 Kudos
175

Hi Experts,

In my text element in smartforms, I need to provide some fixed space between two columns as below.

txt1 txt2

123456.00 $6789.0

But if value in coulmn1 is nil, then column2 goes to left i.e the alignment is disturbed as below:

txt1 txt2

$67898.0

I cannot put template as i need to provide page protection.

Pls suggest.

thanks

Dan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

U define a paragraph format in SMARTSTYLES with 2 TABS, then print the variables (text1, text2) with that Paragraph format.

Eg:

P1 &text1&,,&text2&

The 2 comma's respresent a TAB, by doing like above it will freeze the space for each variable.

OR

define a template, split into 2 columns...drop Text1 in column1, text2 in column2..

Hope its clear

Regards,

Pavan

Answers (4)

Answers (4)

Former Member
0 Kudos

Took care of tab and para formatting.

Former Member
0 Kudos

Hi

Create smartstyles (tcode SMARTSTYLES or you can go from the initial screen of tcode SMARTFORMS ) with paragraph name.

Set the tab positions and save

Use this smartstyle in your smartform and assign the paragraph format to the data which is displayed

regards

padma

Former Member
0 Kudos

Hi Dan,

Select the line type for the template and assign the patterns ...

Regards,

Sravanthi

Former Member
0 Kudos

you can do one thing

if there is no value for text1 the label also should not show.

then the text2 value should come under text2

Former Member
0 Kudos

Hi,

Am Sorry . in my question column2 goes to left i.e the alignment is disturbed as below:

txt1 txt2

$67898.0

not below txt1 like.

txt1 txt2

$67898.0

I cant use templates as i need to have page protection.

Former Member
0 Kudos

create paragraph format like BT goto TABS tab there you can

1 2,00 CM Left-Aligned

2 28,00 MM Left-Aligned

&text1&,,&test2&

here ,, is first TAB is taking.....

Former Member
0 Kudos

Hi,

As already said create a paragraph format in smartstyles. with tabs.

Choose as alignment the decimal sign.

Then the print in one text element as &var1&,,&var2&

This should work

Gr.,Frank