Hi all,

I'm trying to work out how I would validate a form to ensure that all textareas have had something typed into them.

The problem is though... the amount of textareas is unknown as they are dynamically generated using PHP and all look like this

HTML Code:
<textarea name="answer[]" rows="4"></textarea>
I basically just need to loop through all the textareas to ensure that something was entered. Any pointers would be greatly appreciated.