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.

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');