Translations of this page:
 

dropUpload()

void dropUpload(String variableID)

The function dropUpload() deletes a file from the server that was uploaded by the respondent or otherwise created during the interview.

  • variableID
    The ID of a variable from the question that is responsible for the file upload or file creation.

Warning: A file that was deleted by means of dropUpload() cannot be restored.

Usage

If a question with the ID “UP01” was used in the questionnaire to upload a file, the uploaded file can be deleted on a later page with the following PHP code.

dropUpload('UP01');
en/create/functions/dropupload.txt · Last modified: by 127.0.0.1
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki