To validate an HTML Editor field, use server validation. in the server validation behavior, select the required validation type, click the lightning bolt next to server variable and select the HTML Editor field.
If this is not working for you, please send a copy of the php page in a zip archive.