All file items referenced by an iterator can be processed within a loop within while (iter.next()) as shown in the example below.
while (iter.next())
Javascript example:
var items = controls.fileUploadControl.list.items; while (items.next()) { var fileItem = items.fileItem; if (fileItem.errorMessage == "Failure") { controls.fileUploadControl.backgroundColor = "red"; } }
returns boolean
All file items referenced by an iterator can be processed within a loop within
while (iter.next())
as shown in the example below.Javascript example: