Skip to Content
author's profile photo
Former Member

Smartforms,How to display different standard Text in a Text element.

In smartform,if I want to according to the different conditions,display one of the serveral different standard Text objects which all maintained in SO10 in a same text element,how to do it?

if i put them in serval text elements, each condition only display the corresponding text element,but the text content can not display in the same position.

Is there anyone can tell me?

thanks.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 11:58 PM

    use Alternative to control it no problem

    for example you want to display the different SO10 to same position TEMPLATE's row 1 col2

    TEMPLATE1

    Alternative case1

    -


    YES

    -


    INCLUDE TEXT1(display SO10) [set output option line1 column2]

    -


    NO

    -


    Alternative case2

    -


    YES

    -


    INCLUDE TEXT2(display SO10) [set output option line1 column2]

    -


    NO

    -


    Alternative case3

    -


    .............................

    every case your SO10's text is always display at line2 column2

    just try to test it ,you can know

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 04:55 AM

    Create a condition block on the page...

    In that condition block give the condition you want to use as basis of printing your Text...

    If the condition is true print the required text under Yes block of condition..

    else under False part of condition....

    Same way you can give multiple levels of conditions.. and print only one of the test which satisfies the runtime condition...

    Add comment
    10|10000 characters needed characters exceeded