-
Here is the simple code for Posts to inform the user with the text alert about the empty Labels field. It is bound to the Title field's changes. You may expand it more if you need more conditions.
</em></p><p><em>$(document).ready(function() {</em></p><p><em> $("#bx_posts input[name='title']").change(function() {</em></p><p> <em>var oLabels = $("#bx_posts input[name='labels[]']");</em></p><p><em> if (!oLabels.length) {</em></p><p><em> alert("bad");</em></p><p><em> }</em></p><p><em> });</em></p><p><em>});</em></p><p><em>
-
Hi @LeonidS
Thanks for the code. Is this for posts only? What about labels on the Profile page and other modules like Ads, Groups, Forum etc. Rather than having a module-based change, we should think on a global solution (entire website). Thanks
-
-