Page 1 of 1

Disable required for email field

Posted: Thu Oct 18, 2018 11:57 pm
by cwyenberg
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

How do I disable the email field (or any other non-custom field) as being required? This would be for staff only as we sometimes take support phone calls and would like to keep a record of the call without having to complete all required fields.

Re: Disable required for email field

Posted: Fri Oct 19, 2018 5:42 am
by Klemen
In Admin panel > Settings > Help desk tab > Features you have on/off for "Require email", "Require subject" and "Require message".

You need version 2.8.0 or newer for this.

Re: Disable required for email field

Posted: Fri Oct 19, 2018 5:23 pm
by cwyenberg
Thanks for the reply, Klemen. My question was not clear enough. I was aware of these settings but was looking for a way to change them to required for customers but not for staff.

In thinking about it, an alternative approach would be to make these invisible to the public and create custom email, subject, etc. fields in their place.

Re: Disable required for email field

Posted: Fri Oct 19, 2018 7:05 pm
by Klemen
Ah, I see. Well, you could keep the setting as required, then manually overwrite the value in inc/admin_functions.inc.php file, for example by pasting

Code: Select all

$hesk_settings['require_email']=0;
just below

Code: Select all

define('HESK_NO_ROBOTS', true);
Now any file that required admin_functions.inc.php (so most of the admin panel) will see the value as not required.

Didn't test it though.

Re: Disable required for email field

Posted: Sat Oct 20, 2018 12:34 am
by cwyenberg
Seems to work fine. I'll update if any issues.

Thanks!