I did follow a javascript solution to create a reset button and the reset button is resetting the field types that are the field type drop down, text and date. But it is not working on resetting the fields that are multi select and checkbox group. I am doing it in confluence with Confi forms. And the below is a sample of some of the code I am using for it. I put the code in html macro in confluence.
<script type=<span>"text/javascript"</span>>
<span>function</span> my <span>CustomScript</span>(formId) {
<span>AJS</span>.$(<span>'#'</span> + fomdId).<span>find</span>(<span>'.save-cf-btn'</span>).<span>after</span>(<span>'<button type="button"` class="aui-button cf_reset_btn" style="margin=right: 10px;">Reset</button>'</span>);
<span>AJS</span>.$(<span>'#'</span> + formID).<span>find</span>(<span>'.cf_reset_btn'</span>).<span>click</span>(<span>function</span>() {
<span>AJS</span>.$(<span>'#'</span> + formID).<span>find</span>(<span>'#i_totr'</span>).<span>val</span>(<span>''</span>);
<span>AJS</span>.$(<span>'#'</span> + formID).<span>find</span>(<span>'#i_title'</span>).<span>val</span>(<span>''</span>);
});
}