Unable to enforce required fields.

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Matthew
Posts: 4
Joined: Fri Jun 22, 2007 7:55 am

Unable to enforce required fields.

Post by Matthew »

Greetings forum, our Hesk (2.4.2) install is hosted on Windows 2003, IIS6, PHP 5.3.8, MySQL 5.0.67. Both session tests work.

I've recently upgraded our fully working hesk install to the latest version from 2.3 with the hope to use some of the new features. On completion everything seemed to be working fine until a new ticket is created. The custom fields are there, but the red asterisk is no longer next to them and the ticket can be submitted with the fields empty. No amount of checking and unchecking the required check box in settings enforces this. I've looked at hesk_settings.inc.php and the custom field 'req'=>1 is set, but the form still appears to be ignoring it.

I've taken to installing a fresh version along side the existing version, with all new files and new database, but this problem persists. Despite this problem everything else appears to be working as it should.

Can some one point me in the direction of a solution please?

Thank you.
Matthew
Posts: 4
Joined: Fri Jun 22, 2007 7:55 am

Re: Unable to enforce required fields.

Post by Matthew »

I have resolved this issue. The confussion came from the mandatory fields not being enforced when logged in to hesk, if you view the Submit Ticket page when not logged into hesk the mandatory fields are correctly enforced. I guess this is a feature :)
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Unable to enforce required fields.

Post by Klemen »

Correct, this is a feature :wink:

Staff may not always have all the information that you request from customers hence the fields are not required when submitting a ticket from the staff interface.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
dnaxtreme
Posts: 6
Joined: Mon Jun 24, 2013 10:40 am

Re: Unable to enforce required fields.

Post by dnaxtreme »

Hi,

We are also facing this problem/issue..

Is it also possible to require this for admins?

I think it is kind annoying when my colleagues "forgot" to enter a field..

Thanks!
Post Reply