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 / Add Paragraphs to a mu...
Power Apps
Answered

Add Paragraphs to a multiline text box in a form when emailing

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

 

I have the below code in the body of an email (OnSuccess of a form), 1st Approver Comments and 2nd Approver Comments are a multiline text box that currently comes through in the email in one line rather than in paragraphs as the user has filled it out, I believe I need to use CHAR 10 or CHAR 13 for this but can you advise where I need to add that in please? 

 

 

<b>1st Stage Comments: </b>" & EditForm_1.LastSubmit.'1st Approver Comments'&"<br>
<b>2nd Stage Comments: </b>" & 	EditForm_1.LastSubmit.'2nd Approver Comments'&"<br><br>

 

 

Thanks in advance

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,940 Most Valuable Professional on at

    Hi @Dave-ITMan ,

    If you use Office365Outlook.SendEmailV2, you code will resolve as you expect.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Dave-ITMan Profile Picture
    on at

    Hi @WarrenBelz ,

     

    Yes, that's what i'm using but it's putting all the text on one line e.g. test description of change line 3 and it should be:

     

    test description of change

     

    line 3

     

    Regards

  • Verified answer
    Dave-ITMan Profile Picture
    on at

    Hi,

     

    I've worked this out using the below code if anyone else has this issue in future

     

    <b>1st Stage Comments: </b>" & Substitute(EditForm_1.LastSubmit.'1st Approver Comments', Char(10), "<br>") &"<br>
    <b>2nd Stage Comments: </b>" & 	Substitute(EditForm_1.LastSubmit.'2nd Approver Comments', Char(10), "<br>") &"<br><br>
  • WarrenBelz Profile Picture
    155,940 Most Valuable Professional on at

    @Dave-ITMan ,

    That is not really evident from your initial post, but glad you solved it

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard