I would have to view the code itself.
Post an example of the code where an error message is in the code in DW so I can see the php.
Then include the code from your server validation where the validation actually occurs.
Then I can show you what to put where to debug.