Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

HTML visual - submit a form via email doesn't work

I used the HTML viewer but when I click on submit button it doesn't work.  Is there any way to do this?

 

<html>
<style>
input[type=text], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=email], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit] {
  width: 100%;
  background-color: #409bd2;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #007ac3
}

div {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

h3 {
  font-family: arial;
  color: #007ac3;	
  text-align: center;
}

form {
  font-family: arial;
  font-size: 16px;
}

</style>
<body>

<h3>Request to receive vulnerability exceptions alerts</h3>

<div>
  <form action="mailto:email@address.com?subject=Vulnerability Exception Alerts Request" method="post" enctype="text/plain">
    <label for="body"></label>
    <input type="text" id="body" name="Request" value="Please add me to your list">
    <input type="submit" value="Submit">
  </form>
</div>

</body>
</html>

  

4 REPLIES 4
Anonymous
Not applicable

I'm having the same issue - have a webpage embedded using HTML Content which loads fine and navigation buttons function but Form Submit button doesnt work.

Could this be an issue with POST Requests to the server from within Power BI?

v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

Would you please try to use HTML Content :https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA200001930?tab=Overview

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

Anonymous
Not applicable

the  attached code works independently to create a outlook email with the subject and body but once it's inside the html viewer visual it doesn't open the email link after you hit submit. No error, it just doesn't respond. I am assuming it may be a limitation of the free visual from power bi marketplace so curious if anyone had ever used it for something like this.  I created a URL table and changed it to a icon but I wanted to do forms in the future so this may require R or Python customized visual.

 

amitchandak
Super User
Super User

@Anonymous , Does it give any Erroe. what is excat component. How are you using it . Have tried with a small sample HTML

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.