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

Smartforms Alignment - Is it possible?

Former Member
0 Likes
714

Hi,

I am facing a problem in smartforms alignment. I created a table and template under that table.

The content in template consists of following:

  • Incoterms and Est. PGI date are in 1st column

  • Value against these fields are in 2nd column

Incoterms:          CIP (Incoterms) <City of Delivery address>
Est. PGI date:      12/12/2010

Here, If the string lenght of <City of Delivery address> exceeds some limit, the value breaks and display it in 2nd line.. as mentioned below

Incoterms:          CIP (Incoterms) Kirchheimbolanden 
Est. PGI date:      Unteroberndorfplatz
                    12/12/201

In this case if we have a line break in Incoterms, I need to move the line "Est.PGI date:" with its value one line down.

If there is no line break we just leave it as it is.

So this should look like,

Incoterms:          CIP (Incoterms) Kirchheimbolanden 
                    Unteroberndorfplatz
Est. PGI date:      12/12/201

Is it possible to maintain dynamically for this case? Please share your ideas..

4 REPLIES 4
Read only

JoffyJohn
Active Contributor
0 Likes
639

make

Incoterms: CIP (Incoterms) <City of Delivery address>

Est. PGI date: 12/12/2010

as two seperate rows then there will be no issue like this.

Create a line type with 2 rows and 2 columns and your issue will be solved

Read only

Former Member
0 Likes
639

Hi,

Try like this, in code editor check length of that incoterms field value if exceeds limit then call one text otherwise call different

text. for ex. if your incoterms field can hold 30 chars without break,then use one text else use another one in that give gap one line bt incotrems & date.

Fell free to ansk questions, if any

Regards.

S.Senthil

Read only

former_member842213
Participant
0 Likes
639

Incoterms: CIP (Incoterms) Kirchheimbolanden

Unteroberndorfplatz

Est. PGI date: 12/12/201

U can display above using table or template , With line type of 2 coluns

If you use table u need to take tick mark in the loop area (body of the table)

U can disply the contents with the header.

Read only

Former Member
0 Likes
639

Yes, Joffy is right..........

May be your template is designed with 1 row and 2 columns.

There should be two rows as well.