Application Development 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: 

Formatting in smartforms

Former Member
0 Kudos
164

Hi,

I am working on smart form:

I have doubt regarding formatting,

Name:ABCDEFGHIJKLMNOPQRSTUVWXYZ DATE:12/12/2006.

-


But when the name field is short the date field shifts like below.

NAME:ABCD DATE:12/12/2006.

-


But I want the output date field like following even when the name is short.

NAME:ABCD DATE:12/12/2006.

-


Please help me out..

Points will be awarded

Tushar

1 ACCEPTED SOLUTION

Former Member
0 Kudos
84

Hi,

Create a template with two column and one line. Put name and value in one text at Position 1,1 and date & date in another text node at position 1,2.

Regards,

Gagan

5 REPLIES 5

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
84

You should set up tabs in your paragraph format. In this case you only need one.

You code your tabs with a double comma.

AA &NAME&,,&DATE&

Thats it.

Regards,

Rich Heilman

0 Kudos
84

Hi,

I think this will not help me out because there is a date text in between &x& and &y&.

Name Text:&x& Date Text:&y&.

So let me modify my question a bit.

What I want is Date text should come after say 10 characters of Name text not 10 characters after &x&..

I appreciate your previous prompt answer though.

0 Kudos
84

Ok, that's simple. Again, back to the tabs.



AA Name: &NAME&,,Date: &DATE&


or



AA Name:,,&NAME&,,Date:,,&DATE&

It all depends on how many tabs you want to put in it.

Regards,

Rich Heilman

Former Member
0 Kudos
85

Hi,

Create a template with two column and one line. Put name and value in one text at Position 1,1 and date & date in another text node at position 1,2.

Regards,

Gagan

0 Kudos
84

Hi,

You can use table.In that you have to use linetype.Its width should match with the table width.

Example:

linetype

l1 10 cm 10 cm