Check if all the fields are full

Check if all the fields are full

Hi,

I have a form that has 80 number fields. I want to check if all of them are full and then send a mail.

I know I can do something like:

If ((field1 != null) && (field2 != null) and so on until && (field80 != null))
{
sendmail
}


Is there an easiest way? without having to write 80 times the condition.