Skip to Content
avatar image
Former Member

PRINTING LINE IN TEMPLATE

Dear all,

I have one requirment in smartforms there are one template,in that template there are 5 lines.Now if there are no content in fifth line then lfifth line is showing empty but it accupies the space in page.Now I want if the content of fifth line is empty then space should not be accupied..

please suggest me.

Regards,

Amar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 08, 2010 at 01:36 PM

    Hi,

    You can create 2 template for that and in the second one add one condition in the condition tab of the template

    like if v_content NE 0.

    then that template will not be shown in output and space will also not come.

    Thanks

    Mona

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08, 2010 at 12:05 PM

    Hi,

    Then you need to use a table not a template. At template has a static size, regardless of what data populates it, if you want the size to be dynamic you need to create a table.

    Regards,

    Nick

    P.S. Your title breaks the forum rules.

    Add comment
    10|10000 characters needed characters exceeded