hello,
I have a form w/ 15 items on it.
of those 15 four are Address,City,State,and Zip.
I need to make sure that if the user enters just the city or state or zip or address that I give them an alert that says "fill out the rest of the address".

right now I am using a TON of if statement. is there a way I can put those four fields into an array and loop through them for the validation?

if they don't fill out any of the four fields that is fine but if they fill out just one then I want to tell them to fill out all of them.

thanks.