jgroves
11 years agoExpert
Javascript to Execute Before Post
Hi,
I'd like some javascript to execute when a user clicks "post" when either begining a thread or replying. Basically for many complicated reasons (too much detail to provide in this post) we're needing to check the post for a certain character set and if the post or title contains this character set we don't want to allow the user to post. I know the Lithium out of the box content filters do forms of this, but for numerous reasons that will not meet our needs. Does anyone know how I can make this javascript execute upon the "post" action? I'm unsure which API call is best.
Thanks,
Jordan