I may be wrong, but:

I don't believe that the processing to occur when multiple form fields with the 
same name are present is standardized.  IE, if it finds it, converts them to an 
array, but if it finds only one does not.

Do an "alert(typeof e.atccNum);" before you process.  I think you'll find that 
when there's only one element your get "string" instead of "object" (which it 
will be if it's an array).

You should then be able to do an if statement with the typeof to determine if 
you need to process the array or not.

Jim Davis

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:165815
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to