Page 1 of 1

check all fields in Multi-Update modals

Posted: Wed Nov 03, 2021 10:00 pm
by darkdragon

Hello,

One small hack to automatically check all fields in Multi-Update modals.
add the following in Client Scripts -> Table-Specific -> Multi-Update Page -> Startup Script:

$("#u").trigger("click");
// hide select all row
$("#u").parent().hide();
// hide each field checkbox
$('input[type=checkbox][name^="u_"]').hide();
$('label[for^="u_"]').removeClass("custom-control-label");