Content Place Holder Text - InfoPath Dev
in

InfoPath Dev

Content Place Holder Text

Last post 01-24-2012 03:07 AM by Skarn. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-23-2012 12:11 PM

    Content Place Holder Text

    I need a quick help on this, i have to place multiple line's of text in content place holder of a text box, it is only accepting without any line breaks, is it possible to enter text with line breaks in a content place holder.

  • 01-23-2012 04:06 PM In reply to

    Re: Content Place Holder Text

    Unfortunately I don't believe there is an easy way to have placeholder text have line breaks in InfoPath.

    Have you considered using a task help pane, a show/hide section to include help text, or a tooltip?

    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

  • 01-24-2012 03:07 AM In reply to

    • Skarn
    • Top 50 Contributor
      Male
    • Joined on 04-20-2008
    • Australia
    • Posts 198

    Re: Content Place Holder Text

    This might be a bit of an 'out there' idea.
    Set the width of the text box, then in the Placeholder option instead of carriage returns you can space out your words to 'pad' then to the next line.

    Now, Spaces won't work, Infopath just removes all of them leaving only one. So try holding ALT and typing 255 on your NUMBER PAD (must be the number pad) and a let go of ALT.
    A 'Space' will appear in the Placeholder box except Infopath won't remove these ones. Just do a few of them, and then copy and paste them as needed.

    Someone may have a better ALT code to use, but 255 is the first one that worked as I wanted.

    This seems to have the desired affect, but is a bit fiddly.
    The reason for setting the width first is clear, because if the width is changed, then you'll need to readjust all the spaces.

    Good luck.

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