cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jinwei
Frequent Visitor

Creating HTML table to email in PowerApps with Conditions

Hi,

 

This is the general how my app looks like with a question and a radio button.

 

jinwei_0-1598020655379.png

Once that is done, I am trying to create an email with HTML table to show the questions and answer where in the case if the user answered the question using radio button, then the table will have the question, but remain invisible if it is left blank.

 

This is the code I am trying to use:

 

 

 

 

<html>
<body>
<Table Align = Left border =1>
<tr><th>
Question</th>
</tr>
<tr>
<td>"
& If(!IsBlank(RadioButton1),Comment1.Text,false) &
"</td>
</tr>
</Table>

</body>
</html>

 

 

 

 

 

However the question remain in the table even if I were to leave the answer blank.

 

Hope someone can give some advice.

0 REPLIES 0

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (3,010)