Page 1 of 1

how to delete required fields

Posted: 22 Jan 2008, 05:44
by vivekanandan
how to select a new erquired field or to delete the existing required field.

for example,

how to take the required field of category option in repot issues

Re: how to delete required fields

Posted: 23 Jan 2008, 04:02
by ryan
Look for bug_report_page.php and bug_report_advanced_page.php in \Apache\Apache2\htdocs\mantis,
then you will find <span class="required">*</span> in part which you interested.
The field becomes non-required after you delete it.

Re: how to delete required fields

Posted: 26 Jan 2008, 09:26
by vboctor
Removing the span doesn't change a field from required to non-required. The span * is just a visual for the users. The actual code that makes a field required or not lives in bug_report.php.

Re: how to delete required fields

Posted: 16 Apr 2008, 06:53
by manim
The actual code that makes a field required or not lives in bug_report.php:
Can you please tell how to change it?
I want to make category a not requiered field.
I've looked at the bug_report.php but cannot find where to make a modification.
Thanks

Re: how to delete required fields

Posted: 16 Apr 2008, 07:05
by smig1o
I made category field in bug_repoprt_page.php hidden and set
$g_default_bug_category.

This way Category field doesnt annoy any of my users..