Rich Text Box Default Value and Line Breaks - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Rich Text Box Default Value and Line Breaks

Last post 01-29-2014 01:46 PM by BG7321B. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-13-2011 09:01 AM

    • texaminn
    • Not Ranked
      Male
    • Joined on 10-13-2011
    • Minneapolis, MN
    • Posts 12

    Rich Text Box Default Value and Line Breaks

    I have a Rich Text Box that I want a default value in.  A one line default value works fine with the the string("Text goes here") option.  However, I want the default value to have multiple lines.  Something like:

    string("This is line 1.

    This is line 2")

    It works with a regular text box, but I need this box to be rich text.  If I type the above for the default value, it just comes up "This is line 1.  This is line 2" all on one line.  How do I get a line break in the default vale of rich text box?

     

    Filed under:
  • 10-13-2011 12:09 PM In reply to

    Re: Rich Text Box Default Value and Line Breaks

    Hello texaminn,

    ... and welcome to our forum.

    Please have a look at the following link - I guess you can insert line breaks with the suggested method...

    http://blogs.msdn.com/b/infopath/archive/2005/03/04/385577.aspx

    Hope that helps,

    Regards,

    Karsten
    Filed under:
  • 01-29-2014 01:46 PM In reply to

    Re: Rich Text Box Default Value and Line Breaks

     It works in TextBox, but not Rich Text Box

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