Page 1 of 1

Unable to enforce required fields.

Posted: Thu May 16, 2013 6:23 pm
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.

Re: Unable to enforce required fields.

Posted: Fri May 17, 2013 9:26 am
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 :)

Re: Unable to enforce required fields.

Posted: Fri May 17, 2013 11:13 am
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.

Re: Unable to enforce required fields.

Posted: Wed Oct 23, 2013 10:31 pm
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!