Hi there, I just purchased GP Pro to be able to put in som js code to auto fill the mandatory ‘subject’ field in BuddyPress private message. I created a Custom Hook and copied the code into here, but with no effect?
‘You may use the following js(in document ready block) to add the subject on your own’
<script>
jQuery(‘#send_message_form’).submit( function() {
jQuery(‘#subject’).val(“Some message subject”);
});
</script>
What am I doing wrong?
Regards
Carsten