Search found 5 matches

by sckerr
15 Aug 2008, 07:14
Forum: Help
Topic: Ho to make a field mandatory?
Replies: 4
Views: 5143

Re: Ho to make a field mandatory?

Closing the loop on this, to ensure the field is populated and marked as required from the desired state on, you just change the checks for the code we added/updated in both custom_functions_inc.php and bug_change_status_page.php to be ">=" instead of "==". I should have seen that earlier.
by sckerr
15 Aug 2008, 06:52
Forum: Help
Topic: How to set field "Product version" mandatory during report
Replies: 6
Views: 6275

Re: How to set field "Product version" mandatory during report

Hi,

I tried this, but got the following error:

Notice: Undefined index: 9000 in D:\rotter\Desktop\Webserver\Root\mantis-1.1.2\core\error_api.php on line 343

And the * isn't on the page so you see it is mandatory....how can I change this?

There are some notes here that might help you with this ...
by sckerr
15 Aug 2008, 06:44
Forum: Help
Topic: Ho to make a field mandatory?
Replies: 4
Views: 5143

Re: Ho to make a field mandatory?

Disclaimer: I don't know how these changes will be retained at the next upgrade you take, but they work perfectly. It would be nice if there was a config file that we could define a field(s) that was mandatory and in which state(s).

To get the asterisk (*) by the field and the nice little ...
by sckerr
15 Aug 2008, 06:05
Forum: Help
Topic: Ho to make a field mandatory?
Replies: 4
Views: 5143

Re: Ho to make a field mandatory?

NOTE: I did find that the solution did not work for me exactly as-is for version 1.1.2. The line:

define( 'ERROR_BUG_UPDATE_VALIDATE_FAILURE', 10001 );

That the solution states should be in custom_functions_inc.php actually needs to be in the file custom_constant_inc.php. Otherwise this solution ...
by sckerr
15 Aug 2008, 05:45
Forum: Help
Topic: Ho to make a field mandatory?
Replies: 4
Views: 5143

Re: Ho to make a field mandatory?

I think you want to take a look at this thread: http://www.mantisbt.org/forums/viewtopi ... ory#p13943

I had the same question and found this solution with a little searching around this forum.

Good luck!