Skip to Content

Smart form doubt

Hi All,

I have developed a smart form(a letter) which has about 5 address fields in the following order.

&address_line1&

&addressline2&

&city& , &state& &zip&

&addressline2& is not mandatory. When this parameter is empty then i get the output like this

1234 wood creek street

Herndon, VA 20171

I do not want the gap . What am i supposed to do. I want something like If addressline2 is null then delete line .

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 23, 2007 at 02:48 AM

    &address_line1&

    <b>IF &addressline2& is not initial.

    &addressline2&

    ENDIF</b>

    &city&,&state& &zip&

    Or you can create new text and add condition as above in condition part

    so you will get

    1234 wood creek street

    Herndon, VA 20171

    Rewards if useful......

    Minal Nampalliwar

    null

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 23, 2007 at 02:55 AM

    I guess in your paragraph format (which you are using to print address) you can tick the check box no blank lines and it will not display any blank line.

    Hope this helps.

    ashish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 23, 2007 at 04:03 AM

    Hi Madhu,

    1. Execute Transaction SMARTFORMS

    2. CLICK on SMARTSTYLE

    3. Enter your Smartsytele & click Change

    4. Double click on your Paragraph Format

    Best regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.