I am getting the below error message when I tried to upload zero size document.Though I am validating size of the file, getting the below error message:An Error Has OccurredCould not upload “zero size”. Reason: This file is emptyHow can I remove this error message?sample code :load( local!FileSize:0, local!fileName,a!formLayout( label: "Upload Document Sample", firstColumnContents: { a!fileUploadField( label: "File Upload", labelPosition: "ABOVE", instructions: "", target:"Temporary Documents", value: fileName, saveInto: { fileName, a!save(local!FileSize,a!fileUploadField(value:fileName).uploadedDocumentSize) }, validations: { if(FileSize<=0,"Error, file size",null ) } ), }, secondColumnContents: { /* Add components here for a two-column form */ }, buttons: a!buttonLayout( primaryB...
OriginalPostID-224673
Discussion posts and replies are publicly visible