I wondered if anyone can suggest a way of controlling what categories are shown in the drop down list on the ask form. I have a site where there are specific categories for two different types of users and I would only like to show categoryids < 1001 for one user and category ids > 1000 for other users.
The way I see it I can possibly do it one of two ways:
1 - in my theme by manipulating $form['fields']['category']['options'] and ['tags']
However it seems that some javascript kicks in at some point and hides category_0 and sets up a category_1 which complicates matters (perhaps I could disable this bit of javascript).
2 - amend the sql query that is used to populate this list, but I cant find out where that is.
I'd appreciate your comments.