OK, so my update page updates if I add a file to be updated, however if I dont select a new file, it deletes the entry from the database!
I understand that I need to bind the hidden form field to the actual form field by selecting the hidden form as the default file.
When I open the wizard via the behaviour that option is always empty even though I have selected it every time!
Should the entry by the hidden field name
or a long string instead?
<?php echo((isset($_POST["logo_upload_hidden"]))?$_POST["logo_upload_hidden"]:"") ?>
Should it be in the DFP code?
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["Update_x"])){
WA_DFP_UploadFiles("WA_UploadResult1", "unit_logo", "2", "[NewFileName]_[Increment]", "PNG:5", $WA_UploadResult1_Params);
}
?>