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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Add Paragraphs to a mu...
Power Apps
Unanswered

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
    153,034 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
    153,034 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard