You can add a function like this to your Custom JS:
function customNumberPadding(fin){
jQuery("#dffs_"+fin+" :input").on("blur", function(){
var val = getFieldValue(fin);
var arr = val.split(",");
var newValArr = arr.map(v => {
return v.trim().padStart(5, "0");
});
setFieldValue(fin, newValArr.join(","));
});
}
customNumberPadding("Name_of_your_field");
Change “Name_of_your_field” to match the internal name of your field.
Please note that this code expects the textarea to only contain numbers and no additional text.
Alexander