Posted on 09/01/2017 10:33:33
Hi Emil
The best option must be to use the Dynamicweb.Modules.Forum.Notifications.Frontend.BeforeContent notification. In that notification subscriber, see if the QueryString("cmd") = "createPost" - if so, test if the posted data is as it should be. If it is not, set the StopExecution property to True on the BeforeContentArgs that was passed to your notification subscriber. You can then add an error message to the Output property also on the BeforeContentArgs object to return the frontend.
BR Nicolai