Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Under review by Community Managers

Under review

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

HTML code in a HTML text field

Posted on by 75

Hello Everyone,

 

Not really good with HTML, hope anyone could help me out.

I have this APP where a vendor can generate and submit a Quote for us to make a PO out of it.

I am using an HTML text field to generate a PDF.

Here is the code (sorry it's messy):

 

"<h2> E-FORM QUOTE </h2>" & "<br>" & "<br>" &
"<strong>" & DataCardValue5.Selected.Value & "</strong>" & "<br>" &
DataCardValue22.Text & "<br>" & "<br>" & "<br>" & "<br>" &
"<strong>" & DataCardValue4.Selected.Value & "</strong>" & "<br>" &
DataCardValue24.Text & "<br>" & "<br>" & "<br>" &

"<strong>PROGRAM DETAILS</strong>" & "<br>" &
"Budget Type : " & DataCardValue15.Selected.Value & "<br>" &
"Request Type : " & DataCardValue27.Selected.Value & "<br>" &
"Course Title : " & DataCardValue28.Selected.Value & "<br>" &
"Date: " & DataCardValue29.SelectedDate & " " & DataCardValue30.SelectedDate & "<br>" &
"Modality : " & DataCardValue33.Selected.Value & "<br>" &
"Number of Session: " & DataCardValue31.Text & "<br>" &
"Course Title : " & DataCardValue28.Selected.Value & "<br>" &
"Session Location : " & DataCardValue32.Selected.Value & "<br>" &
"Procurement/Reason for not having Procurement : " & DataCardValue82.Selected.Email & DataCardValue83.Text & "<br>" & "<br>" & "<br>" &

"<strong>Quote Number : </strong>" & DataCardValue26.Text & "<br>" &
"<strong>Quote Date : </strong>" & DataCardValue25.SelectedDate & "<br>" & "<br>" &

"<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>
<tr style='background-color:#efefef'>
<th>DESCRIPTION</th>
<th>QUANTITY</th>
<th>UNIT PRICE</th>
<th>TOTAL AMOUNT</th></tr>" &
Concat(LineItemCollection,
"<tr><td>" & ColDescription & "</td>" &
"<td>" & ColQuantity & "</td>" &
"<td>" & ColUnitPrice & "</td>" &
"<td>" & ColTotal & "</td></tr>" ) &
"</table>"

& "<br>" & "<br>" & "<br>" & "<br>" &
"<p style=text-align:right;><strong>Gross Amount : </strong>" & DataCardValue34.Selected.Value & " " & Gross.Text & "<br>" &
"<strong>GST Amount : </strong>" & DataCardValue34.Selected.Value & " " & GST.Text & "<br>" &
"<strong>Net Amount : </strong>" & DataCardValue34.Selected.Value & " " & Net.Text & "</p>" & "<br>" & "<br>" & "<br>" & "<br>" & "<br>"

 

Now, the thing I want help with is the format of the Vendor details and Our Company(or any branch of our company).

Would like this details to be side by side. But I kept failing to do so. Hope you could help out. 🙂

Curiosity_user_0-1686568792414.png

 

 

Thank you in Advance.

 

Categories:

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard