SmartClient Version: v12.0p_2019-06-12/LGPL Deployment (built 2019-06-12)
Browser: Chrome Version 78.0.3904.70 (Official Build) (64-bit)
In HTML and vanilla JavaScript, I am able to access the FileList of a form input of type "file" as follows:
<html>
<head>
<script>
function printFileNames() {
let files = document.getElementById("file-item").files
for (let file of files) {
console.log(file.name)
}
}
</script>
</head>
<body>
<form>
<input id="file-item" type="file" multiple="true"/>
<input type="button" value="Submit" onclick="printFileNames()"/>
</form>
</body>
</html>
Is there a way I can access the FileList of an UploadItem in a DynamicForm?
Browser: Chrome Version 78.0.3904.70 (Official Build) (64-bit)
In HTML and vanilla JavaScript, I am able to access the FileList of a form input of type "file" as follows:
<html>
<head>
<script>
function printFileNames() {
let files = document.getElementById("file-item").files
for (let file of files) {
console.log(file.name)
}
}
</script>
</head>
<body>
<form>
<input id="file-item" type="file" multiple="true"/>
<input type="button" value="Submit" onclick="printFileNames()"/>
</form>
</body>
</html>
Is there a way I can access the FileList of an UploadItem in a DynamicForm?
Comment