Every Form object created in TYPO3 has the ID “mailform”.
<form action="thanks/" id="mailform" name="mailform" enctype="multipart/form-data[...]
This seems to be a problem since I have 2 forms on 1 page, and when (I think) the IDs are the same, the validation script doesn’t work.
As reported here: http://lists.typo3.org/pipermail/typo3-english/2006-April/024467.html
in your main template setup field add this code:
now every mailform will have a different unique (a hash) form id