1

I need to generate something like this using jasper ireports tool:

Address : xyznamexyzcity

          xyzstreetxyz

in case the address overflows it should be exactly below the first

Design script is something like this:

Address : $F{Address}

I tried various possibilities but couldn't get the desired result.

The nearest solution i got is something like this:

Address : xyznnamexyzcity

xyzstreetxyw

my form is something lke this :

name :  $F{}

address : $F{}

city :  $F     , State : $F     , Zip : $F

Phone : $F

There is no restriction on length on any of the field

Alexis Pigeon
  • 7,423
  • 11
  • 39
  • 44
nsr
  • 43
  • 7

2 Answers2

0

This is you want.. Extend the textfield size REFER

enter image description here

RESULT

enter image description here

Community
  • 1
  • 1
Ganesh Rengarajan
  • 2,006
  • 13
  • 26
  • in this case i guess we will get an empty space below, if in case it doesn't overflow – nsr Jul 12 '13 at 09:06
  • thanks for the link ganesh. i have tried the same but could achieve only half of the desired result. grouped the fields to be displayed in a single row like this: "Address " + $F{VENDOR_ADDR_LINE_1}+" "+ $F{VENDOR_ADDR_LINE_2} – nsr Jul 12 '13 at 09:34
  • after doing so i got the nearest result which i Posted along with the question – nsr Jul 12 '13 at 09:35
  • u got me wrong..I got the nearest solution which i posted in the question not the exact desired solution – nsr Jul 12 '13 at 09:40
0

check strech with overflow

check strech with overflow

enter image description here

OUTPUT :-

enter image description here


ANOTHER FIELD:

enter image description here

OUTPUT :

enter image description here

vikrant singh
  • 2,091
  • 1
  • 12
  • 16
  • Thanks vikrant, if i enable stretch with overflow , address field is overlapping with the field below it – nsr Jul 12 '13 at 09:19