You can write a function in which clear the fields. I have write HTML with Javascript function to demonstrate. Check below code:
<h2>Hello! Clear Me</h2>
<Label id="myLabel">My Label</Label>
<input type="text" value="Blabla" id="myInput">
<button onclick="clickMe()">Clear input field</button>
<script>
function clickMe()
{
document.getElementById('myInput').value = ''
document.getElementById("myLabel").innerHTML = "";
}
</script>