I am trying to implement this code
in the ucSubmitNews.ascx file in order to make sure the writer fills at least one category.
First I'd like to know if there is an option to do this in the module itself.
If not then I'd appreciate if one of you guys will take a look at it and will tell if it can work since I did not find a way to do it.
As you can see the code here is not for DNN but for regular VB application.
I want to use it sine it does not require a compilation of a dll and this is important for me in order not to have to change it when I upgrade the module.
I tried some JS code but did not find any that validate a checkboxlist as the categories.