lucabrauchtdeinehilfe
Goto Top

Microsoft Forms (HTML) zu PDF mit Bild

Ich habe eine Microsoft Power Automate Float gebaut. Darin wird eine Forms Umfrage durch Konvertierung zu einer PDF erstellt und per Mail versendet. In der Forms Umfrage, kann auch ein Anhang (Bild) hinzugefügt werden. Diese hätte ich gerne auch noch auf der PDF. Wie sieht dann der HTML Code aus? Ist das überhaupt möglich?

Hier mein Code und Danke im voraus:


<!DOCTYPE html>
<html lang="de">  
<head>
<meta charset="UTF-8">  
<meta name="viewport" content="width=device-width, initial-scale=1.0">  
<title>Versuchsaufbau</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
padding: 20px;
position: relative;
}
h2 {
color: #333;
}
label {
font-weight: bold;
color: #666;
}
input[type="text"],  
textarea {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
}
#absendedatum {
position: absolute;
bottom: 20px;
right: 20px;
color: #666;
font-size: 12px;
}
</style>
</head>
<body>
<h2>Änderungsantrag</h2>
<label for="antragssteller">Antragssteller:</label><br>  
<input type="text" id="antragssteller" name="antragssteller" value="">  
<br>
<label for="abteilung">Abteilung:</label><br>  
<input type="text" id="abteilung" name="abteilung" value="">  
<br>
<label for="datum">Datum:</label><br>  
<input type="text" id="datum" name="datum" value="">  

 
<!-- Div-Element für das Absendedatum ohne Inhalt -->
<div id="absendedatum"></div>  
<script>
window.onload = function() {
document.getElementById('antragssteller').value = getAntragssteller();  
document.getElementById('abteilung').value = getAbteilung();  
document.getElementById('datum').value = getDatum();  


function getAntragssteller() {
return "";  
}
function getAbteilung() {
return "";  
}
function getDatum() {
return "";  
}

</script>
</body>
</html>

Content-Key: 43410826236

Url: https://administrator.de/contentid/43410826236

Printed on: April 27, 2024 at 17:04 o'clock