Deleting list of files

please somebody help me

i have made a database type call jobs then a field type called files which is a list.

i then made a repeating group which has a button which then puts the information to a pop up and displays the files, I can delete the file but cant delete the file name from list of files, I think I have read that somebody said to clear the name but I’m not sure how to this ( if this is even the action to do )

the only way I have even come remotely close is this screen shot which as stated just deletes the first item
Screenshot 2023-08-21 211613

Correct me if I’m wrong here. Your issue is that when you delete a file, it still appears in the list of files?

If you want the change to happen immediately, you have to first remove the file from the field and then delete it. A file will still be visible to you when you delete it. At least that has been my experience.

So do this instead:
Make changes to Jobs’s files, remove the file in question
THEN delete the file in question