cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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
Highlighted
Advocate IV
Advocate IV

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

 

 

 

 

Highlighted
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!!

Highlighted
Super User
Super User

Re: HTML Formatting

You're welcome!

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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