web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PDF prints without lin...
Power Apps
Answered

PDF prints without line breaks of TextInput

(0) ShareShare
ReportReport
Posted on by 496

Hi ,

 

I have text input field as below .. when I generate a PDF of this will display below 4 line in one single line .

 

 

ajithd6368_1-1660636019808.png

 

 

like below , all printed in one line in the PDF  .. I need to print it in the same pattern  as the TextInput with line breakers .


Line1 Line2 Line3 Line4

 

pls advice 

rgds

AD

Categories:
  • ajithd6368 Profile Picture
    496 on at

    Pls ,, can someone help me on this 

  • VJR Profile Picture
    7,635 on at

    Hello @ajithd6368 

    Could you share more details like

    - How are you generating the pdf?

    - how are those values inserted inside the textbox? Is it manually typed. If yes, by pressing enter/ ctrl enter? 

    If not manually typed, then is it a result of the values of some other control above?

     

    have you tried enabling the "multiline" property of the textbox?

  • ajithd6368 Profile Picture
    496 on at

    Hi VJR ,

     

    Thanks for the response ..  

    Here is my answers ..

    - use HTMLText control to create a HTML  text with some TextInput values included .  Using power automate  flow converted the HTML out put to PDF .. 

     

    - Its manually types in to the Text Box with four lines and each end of the line pressed enter to go to next line .

    - Its a multiLine text input .

     

    fyi - the  HTML output generated from the powerautomate flow is also having all the lines in one row .

     

    rgds

    AD

  • VJR Profile Picture
    7,635 on at

    If the HTML output generated from the Power Automate flow itself does not have line breaks then I don't think so it will be there in the PDF. Did you happen to come across this post and see how you can insert line breaks in the html output from the flow?

  • ajithd6368 Profile Picture
    496 on at

    Thanks VJR , I already read that post , but it will apply line breaks for specific length .. I just need the break end of the sentence <cr>

     

    rgds

    AD 

  • ajithd6368 Profile Picture
    496 on at

     

    Hi VJR ,

    seems the issue is in the powerapps itself , if you see the below screen (HtmlText) , its also have text in one row ,despite the TextInput is have in separate lines 

     

    rgds

    AD

     

     

    ajithd6368_0-1660801834111.png

     

  • VJR Profile Picture
    7,635 on at

    <BR> is the html tag to add a line break.

     

    If that still not what you are looking then maybe I did not fully understand your process 🙂

     

    Can you share the details of your process like the below format?

     

    User adds manual input in a textbox in Power Apps ->  then you call a PA Flow by passing this textbox value -> PA Flow converts this text value to PDF -> This PDF shows everything in a single line without breaks

     

     

     

     

     

  • ajithd6368 Profile Picture
    496 on at

    Hi VJR 

    Here is the steps .

    User will enter the comments in the TextInput field ..and the contents of the Text input will transfered to a screen having HTML text  as below.

     

    ajithd6368_1-1660807729838.png

    after that ,used below PM to convert HTML to PDF 

     

     

    ajithd6368_0-1660806822833.png

     

  • VJR Profile Picture
    7,635 on at

    While manually entering different lines into the TextInput how are you entering?

    Line1 <Press CTRL Enter or ALT Enter or Enter>

     

     

  • ajithd6368 Profile Picture
    496 on at

    Just use the Enter Key as the other editors 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard