Setting a default field required

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
anva
Posts: 6
Joined: 08 Jul 2008, 10:40

Setting a default field required

Post by anva »

I would like to set the "Product version" field as required. Is it possible?
anva
Posts: 6
Joined: 08 Jul 2008, 10:40

Re: Setting a default field required

Post by anva »

Nobody?
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

Re: Setting a default field required

Post by vzw614 »

Try adding these lines to your config_inc.php file. I'm not sure it will make the field required but it will show it all of the time.

# --- show product versions in create, view and update screens
# ON forces display even if none are defined
# OFF suppresses display
# AUTO suppresses the display if there are no versions defined for the project
$g_show_product_version = ON;

You may also need to set it so that the "default" view is the "advanced view" instead of the "simple view".
# --- advanced views --------------
# BOTH, SIMPLE_ONLY, ADVANCED_ONLY
$g_show_report = ADVANCED_ONLY;
$g_show_update = ADVANCED_ONLY;
$g_show_view = ADVANCED_ONLY;

You will also need to go into Manage -> Manage Projects and add versions to the project so that they can be selected in the version field.
Post Reply