Thanks
Actually that is what i'm doing but i can't figure out how to test if the user enters in only spaces as well. Can u include a code snippet now
This is what I have so far splitSize is a jsp var that = the amount of rows i will have * 5 for the number of fields per row
function validateMe(theForm)
{
var emptyFields=""
var size = <%=splitSize%>*5;
for (i=0; i <= size; i++)
{
if(theForm.elements[i].value=="")
{
comma=(emptyFields=="")?"":", "
emptyFields=emptyFields+comma+theForm.elements[i].name}}
{
if (emptyFields!="")
{
alert('All Fields must contain data. \n'+'Please return and complete the form.')
return false
}
}
}