Line Feed in in concat function/expression box - InfoPath Dev
in

InfoPath Dev

Line Feed in in concat function/expression box

Last post 04-29-2009 03:01 PM by richardlpalmer. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 11-27-2006 08:28 AM

    Line Feed in in concat function/expression box

    I am trying to place line feeds into a concat function that fills an expression box (e.g. concat("First Name: ",FName,Line Feed,"Last Name: ",LName) ).

    Does any one know if this is supported, and if so, what code to use (ASCII,html, etc)?


    Thank you,


    Ren Pope
  • 11-27-2006 09:41 AM In reply to

    • Stavi
    • Top 100 Contributor
    • Joined on 12-13-2005
    • Posts 95

    Re: Line Feed in in concat function/expression box

    do you mean paragraph breaks? (as infopath calls them)

    I know how to get paragraph breaks into a concat function however expression boxes ignore paragraph breaks :(

    It does work on text boxes though
  • 11-27-2006 09:52 AM In reply to

    Re: Line Feed in in concat function/expression box

    quote:
    Originally posted by Stavi

    do you mean paragraph breaks? (as infopath calls them)

    I know how to get paragraph breaks into a concat function however expression boxes ignore paragraph breaks :(

    It does work on text boxes though



    Yes, I meant paragraph breaks. May I ask how to do it, even if it is an expression box.

    Thank you
  • 11-27-2006 10:18 AM In reply to

    • Stavi
    • Top 100 Contributor
    • Joined on 12-13-2005
    • Posts 95

    Re: Line Feed in in concat function/expression box

    Ok, I bodged my own way to get paragraph breaks into a concat function. Most of my forms link into a database. So I created a table with 1 field called paragraph break. I then added one record and copied and pasted the paragraph break symbol (a little square) into it.

    I then used that table to make a secondary data connection, then referenced that field when ever I want a paragraph break.

    I have read an alternative about putting all the unusal symbols in a xml file, then including the xml file as a resource file, which sounds like a more tidy approach and having a database is not required

    I still like my approach coz i made it up myself :)
  • 04-29-2009 03:01 PM In reply to

    Re: Line Feed in in concat function/expression box

    Stavi:
    do you mean paragraph breaks? (as infopath calls them)

    I know how to get paragraph breaks into a concat function however expression boxes ignore paragraph breaks :(

    It does work on text boxes though

    How so?

Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.