Thanks Ray. But when I did that, it broke the delete file behavior.
When I set the trigger to be the checkbox, the behavior disappears from the behavior list. The checkbox in this case is named "cb_deleteimage2"
Here's the code generated by the UI4 file manipulation wizard.
$WA_DeleteFileResult1 = false;
if((<?php echo((isset($_POST["cb_deleteimage2"]))?$_POST["cb_deleteimage2"]:"") ?>
$WA_DeleteFileResult1 = WA_FileAssist_DeleteFile("../../../images/collection/", "".$row_rsCollection['imagethumb2'] ."");
It looks like a syntax error maybe? But I'm still learning this so I don't see it.