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

HTML Formatting

Here is the code for the confirmation page I am working on:

 

"<h3>Confirmation of Conference Room Booking Request</h3>" &

"<table width='100%'>" &
"<tr>
<td> Requestor: </td>" & User().FullName &
"</tr>" &
"<tr>
<td> Event Name: </td> "& DataCardValue125 &" </td>
</tr>" &
"<tr>
<td> Event Date: </td>" & DataCardValue2 &" </td>
</tr>" &
"</table> <br>" &

"<strong> Items: </strong>" &
"<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" &
"<tr style='background-color:#efefef'>
<th>Room Location</th><th> Description of AV Needs </th><th> Account Number </th>
</tr>
<tr>" &
Concat('Conference Room Booking',
"<td>" & ConferenceRoom & " </td>
<td>" & DataCardValue229 & " </td>
<td>" & DataCardValue232 & " </td>","</tr><tr>") &
"</table>"

 

However, I noticed that the Requestor, Event Name, and Event Date values are all on one row. Those values should be to the right of "Requestor:", "Event Name:", "Event Date:",

 

Also the table should only one row of data instead of repeating. Please help!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: HTML Formatting

Hi @Anonymous

 

This might be closer to what you're looking for....

 

"<h3>Confirmation of Conference Room Booking Request</h3>" &
"<table width='100%'>" &
"<tr><td> Requestor: </td><td>" & User().FullName &
"</td></tr>" &
"<tr>
<td> Event Name: </td><td>"& DataCardValue125 &" </td>
</tr>" &
"<tr>
<td> Event Date: </td><td>" & DataCardValue2 &" </td>
</tr>" &
"</table> <br>" &
"<strong> Items: </strong>" &
"<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" &
"<tr style='background-color:#efefef'>
<th>Room Location</th><th> Description of AV Needs </th><th> Account Number </th>
</tr>
<tr>" &
"<td>" & ConferenceRoom & " </td>
<td>" & DataCardValue229 & " </td>
<td>" & DataCardValue232 & " </td></tr>" &
"</table>"

View solution in original post

4 REPLIES 4
Sru
Level 8

Re: HTML Formatting

hi @Anonymous

 

html format is incorrect you can try below  html code. Please remove test values and update with actual datacardvalues.

 

"<h3>Confirmation of Conference Room Booking Request</h3><Table width='100%'><tr><td> Requestor: </td>  <td>test   </td> </tr><tr><td> Event Name: </td> <td>test</td></tr><tr><td> Event Date: </td>   <td>test    </td></tr></table> <br> "

htmlCapture.PNG

 

 

 

 

Super User
Super User

Re: HTML Formatting

Hi @Anonymous

 

This might be closer to what you're looking for....

 

"<h3>Confirmation of Conference Room Booking Request</h3>" &
"<table width='100%'>" &
"<tr><td> Requestor: </td><td>" & User().FullName &
"</td></tr>" &
"<tr>
<td> Event Name: </td><td>"& DataCardValue125 &" </td>
</tr>" &
"<tr>
<td> Event Date: </td><td>" & DataCardValue2 &" </td>
</tr>" &
"</table> <br>" &
"<strong> Items: </strong>" &
"<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" &
"<tr style='background-color:#efefef'>
<th>Room Location</th><th> Description of AV Needs </th><th> Account Number </th>
</tr>
<tr>" &
"<td>" & ConferenceRoom & " </td>
<td>" & DataCardValue229 & " </td>
<td>" & DataCardValue232 & " </td></tr>" &
"</table>"

View solution in original post

Highlighted
Anonymous
Not applicable

Re: HTML Formatting

This is perfect! Thank you very much!!

Super User
Super User

Re: HTML Formatting

You're welcome!

Helpful resources

Announcements
thirdimage

Power Platform 24

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,656)