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 III
Super User III

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
Advocate IV
Advocate IV

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 III
Super User III

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

Anonymous
Not applicable

This is perfect! Thank you very much!!

You're welcome!

Helpful resources

Announcements
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (3,817)