This will strike through a row and turn its text to red when the delete checkbox is ticked.
☛ Add a clickdelete event to your Subform Object.
☛ Add this JavaScript code to your form's Custom Code field:
function deleteClicked(event) {
var id = event.target.id;
var sf = "sfObj"; //<----- replace with your Subform Object ID !
var row = id.substring(sf.length, sf.length + 3);
style = $('#' + id).is(":checked") ? {
'color': 'red'
, 'text-decoration': 'line-through'
} : {
'color': 'black'
, 'text-decoration': 'none'
};
$('[id^=' + sf + nuPad3(row) + ']').css(style);
}
