cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Textbox <br>

Hello i'm creating an app, 

 

With a couple of textinput i would like to display a couple of textinput values into a textbox 

 

My textinput named H1 H2 H3,

 

When i set in the textbox text value H1 & H2 & H3 the textbox shows the right value but without free space, i know you can use <br> in html is there any way to do this in powerapps?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Power Apps
Power Apps

You can use the Char function to insert a character that corresponds to a newline (HTML <br>). The character code for the newline is 10, so if you have this formula in your textbox:

H1.Text & Char(10) & H2.Text & Char(10) & H3.Text

You will have the textbox displaying the value of the three input boxes in different lines.

View solution in original post

3 REPLIES 3
Highlighted
Power Apps
Power Apps

You can use the Char function to insert a character that corresponds to a newline (HTML <br>). The character code for the newline is 10, so if you have this formula in your textbox:

H1.Text & Char(10) & H2.Text & Char(10) & H3.Text

You will have the textbox displaying the value of the three input boxes in different lines.

View solution in original post

Highlighted
Frequent Visitor

Use this function to send data with new Line --- Char(10) function is equal to HTML <br>

 

 

Office365.SendEmail("support@pointsolutions.net","Client Support Form","Below is the Client Details: " & Text_Name.Text & Char(10) & "Client's Email: " & Text_Email.Text & Char(10) & "Client's Contact : " & Text_Contact.Text & Char(10) & "Total Time Spent: " & Dropdown_SupportHour.Selected.Value & Char(10) & "Travelling Cost: " & Text_TravelCost.Text & Char(10) & "Complaint: " & Text_Remarks.Text & Char(10), {Attachments:Table({Name:"Signature.jpg",ContentBytes:Signature.Image ,'@odata.type':""})})

Highlighted
Frequent Visitor

Use this function to send data with new Line --- Char(10) function is equal to HTML <br>

 

 

Office365.SendEmail("info@domai.com","Client Support Form","Below is the Client Details: " & Text_Name.Text & Char(10) & "Client's Email: " & Text_Email.Text & Char(10) & "Client's Contact : " & Text_Contact.Text & Char(10) & "Total Time Spent: " & Dropdown_SupportHour.Selected.Value & Char(10) & "Travelling Cost: " & Text_TravelCost.Text & Char(10) & "Complaint: " & Text_Remarks.Text & Char(10), {Attachments:Table({Name:"Signature.jpg",ContentBytes:Signature.Image ,'@odata.type':""})})

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,928)