Ventrian Product Forums

We've moved our Product Forums!
To better assist our customers, we've moved to an integrated knowledge base and ticketing system. You can access the new forums at http://support.ventrian.com.
Subject: How to make sure the writer fills at least one category
Prev Next
You are not authorized to post a reply.

Author Messages
Yehuda TiramUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:197


4/26/2007 2:06 PM  
Hi,
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.
 
Any idea?
Tiram
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:21233


4/29/2007 7:31 AM  
I could add an option for this in (require at least 1 category)

I've seen a few different solutions for validating multi checkbox list, the best I've seen is a custom web control you could use. (e.g. drop it in the bin directory and reference it in the ascx file)

Scott McCulloch
Site Administrator
Yehuda TiramUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:197


4/29/2007 8:06 AM  

Thanks. I will have a good use of it if you'll implement it.

If you add it, I think adding an option to select a max number of categories will be a good idea too. (Though it seems more comlicated to implemnt)

For now, could you give a url for the control you recomnded.
Tiram

You are not authorized to post a reply.
Forums > Modules > News Articles > How to make sure the writer fills at least one category



ActiveForums 3.7
We've moved our Product Forums!
To better assist our customers, we've moved to an integrated knowledge base and ticketing system. You can access the new forums at http://support.ventrian.com.