Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub cmdAddF_OnClick
Dim optOption
Dim lstIndex
Dim lstCount
Set optOption = document.createElement("OPTION")
lstIndex = document.FORM1.lstForms.selectedIndex
If document.FORM1.txtFile.value = "" then
lstCount = document.FORM1.lstFile.length
document.FORM1.txtComment.value = lstCount
If lstCount = 5 then
MsgBox "You have Exceeded the Maximum of Five (5) files", , "Fax It"
Exit Sub
End if
optOption.text = document.FORM1.lstForms.value
optOption.value = document.FORM1.lstForms.value
document.FORM1.lstFile.add optOption
FileNames = optOption.text
Else
lstCount = document.FORM1.lstFile.length
document.FORM1.txtComment.value = lstCount
If lstCount = 5 then
MsgBox "You have Exceeded the Maximum of Five (5) files", , "Fax It"
Exit Sub
End if
optOption.text = document.FORM1.txtFile.value
optOption.value = document.FORM1.txtFile.value
document.FORM1.lstFile.add optOption
FileNames = optOption.value
End If
End Sub
Sub CheckFileList
Dim lstIndex
lstIndex = 0
End Sub
Sub cmdAddF_OnClick
Dim optOption
Dim lstIndex
Dim lstCount
lstCount = document.FORM1.lstFile.length
document.FORM1.txtComment.value = lstCount
If lstCount >= 5 then
MsgBox "You have Exceeded the Maximum of Five (5) files", , "Fax It"
Else
Set optOption = document.createElement("OPTION")
lstIndex = document.FORM1.lstForms.selectedIndex
If document.FORM1.txtFile.value = "" then
optOption.text = document.FORM1.lstForms.value
optOption.value = document.FORM1.lstForms.value
Else
optOption.text = document.FORM1.txtFile.value
optOption.value = document.FORM1.txtFile.value
End If
End If
document.FORM1.lstFile.add optOption
FileNames = optOption.value
End Sub
Sub CheckFileList
Dim lstIndex
For lstIndex = 0 to document.FORM1.lstFile.length - 1
'Do whatever with document.FORM1.lstFile(lstIndex).value
Next
End Sub