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
timl
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
Sru
Advocate V
Advocate V

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

 

 

 

 

timl
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (80,567)