Hi there,
I would like to share a JS solution which I have used for my project.
This script that can be used to clear fields in the bulk edit screen. The bulk edit screen typically displays the data from the last update, and my JS allows not show the previous content of fields.
Place following JS into the Footer of Bulk edit screen. Make sure that you have disabled HTML editor.
<script type="text/javascript">
var aaa= document.getElementById("BulkUpdateFormBody");
var v_li = aaa.getElementsByTagName("input");
var v_ls = aaa.getElementsByTagName("select");
var v_lt = aaa.getElementsByTagName("textarea");
var f_tmpf = function(v_list, v_resList){
var v_res = v_resList || [];
var v_length = v_list.length;
for(var v_i = 0; v_i < v_length; v_i++)
if((v_list[v_i].type || "").toUpperCase()!="HIDDEN" && (v_list[v_i].nodeName||'').search(/input|select|textarea/ig) != -1)
v_res.push(v_list[v_i]);
v_resList = v_res;
return v_res;
}
var v_cleanI=f_tmpf(v_lt, f_tmpf(v_ls, f_tmpf(v_li, [])));
v_cleanI.forEach(function(v_i){ v_i.value = ""; });
</script>
I hope this will be useful for someone.