how to delete required fields

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
vivekanandan
Posts: 5
Joined: 17 Jan 2008, 07:08

how to delete required fields

Post 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
ryan
Posts: 7
Joined: 07 Jan 2008, 08:50

Re: how to delete required fields

Post 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.
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Re: how to delete required fields

Post 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.
Migrate your MantisBT to the MantisHub Cloud
manim
Posts: 1
Joined: 16 Apr 2008, 06:42

Re: how to delete required fields

Post 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
smig1o
Posts: 39
Joined: 30 Nov 2006, 12:26
Location: Poznan - PL
Contact:

Re: how to delete required fields

Post 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..
'Press any key to continue or any other key to quit'
Post Reply