I have anywhere from 4 - 10 text edits on my form. Each text edits name start with lot then I add on the back of the name a value according to a field in a database. I want to call a function called validlot and send this textbox name to it. How can I rewrite this statement below to grab any textbox that starts with the letters lot?
if (!validlot(theForm.lot*****,"Qty",true))
return false;