First off, Im new to programming so go easy on me .
I have created an array of strings with all of my html input box names in order to ensure no empty fields. I want to check these via a while loop (any loop wll do). But when I try to input my array name and index number it tells me that "Object does not support this method or property".
Here is a piece of the code.
veriForm = form name
allFields = array name
I would be grateful for any amount of help....Thanks.
I have created an array of strings with all of my html input box names in order to ensure no empty fields. I want to check these via a while loop (any loop wll do). But when I try to input my array name and index number it tells me that "Object does not support this method or property".
Here is a piece of the code.
veriForm = form name
allFields = array name
Code:
counter = 0
While counter < allFields.Ubound()
if (veriForm.allFields(counter).value ="")Then
MsgBox "All fields are required!"
flag = false
counter = allFields.Ubound()
else
counter = counter + 1
end if
Wend