I stand corrected. I wasnt able to follow. At least in part. I got your example working fine but when I try to implement this into my existing form it all goes wrong. I can get the error message to more or less appear but nothing else.
Is there any chance you could take a quick scan and tell me what might be the cause.
Many thanks eric.