Bind checkbox to file name column when deleting file
I have an update form with 3 images. I need to add checkboxes next to each image so that when checked, will delete those images on update.
This is working fine and the image is deleted. But the file name remains in the column.
What I have so far;
-Update behavior for the database. Triggered by the Update button being pressed.
-Upload file behaviors (one for each file field). Default is server filename.
-Delete file behaviors (one for each file field), triggered if it's checkbox is checked.
What I am trying to figure out is how to tell the update behavior that if the checkbox is checked, to clear that column only.
I tried going with the thread #19034. But the client really wants checkboxes so they can update the other fields and delete an image at the same time.
Any help would be appreciated.