Add validation with no model - is it possible?
I'm creating a plugin to add extra input fields to the new discussion dialog form.
I use PostController_BeforeBodyInput_Handler to add the controls to the form. They display fine.
However I can't add validation to these elements. The data in them are custom set so they are not in the models that the PostController use. Is it possible to add validation to them?
I couldn't find an event to make custom validation either. I can't stop the save action on invalid data. I can only get the form data on the PostController_AfterDiscussionSave_Handler but at that place the discussion is already saved.