Hi Jason,
I figured out i also had to include the hidden form element in the repeat region on the results page to make it work. Before it always deleted the wrong file because of the same reason.
Now it is working on the result page and on the detail page.
I also want to include the delete file behavior on the update page once a new file is uploaded. i know i can set the trigger on succesfull upload and again i need to include a hidden field that holds the teamPicture filename.
My question is: when i look at the hidden form element used on the update page, the hidden field value is: <?php echo($_GET["invalid"])((isset?ValidatedField("teamsupdate","WADAUpdateRecordID"):$_GET["teamID"])); ?>
Now i was wondering which binding generates this code when adding such value manually to a hidden form? Do i need similar code holding my teamPicture filename?
If i choose a binding for the hidden element value the code is without the '($_GET["invalid"])' code.
All is working now though also the update page but just wonder if this code has to be handcoded or comes from a binding.
Thanks