Page 1 of 1

Not requiring email address

Posted: Wed May 21, 2008 5:27 am
by rperkins
Script URL:
Version of script: 0.94.1
What terms did you try when SEARCHING for a solution:
not requiring email address

Write your message below:

I would like to not require a email address or message (I am using custom fields) on the ticket submitting page is that possible? I am using this great system to track special orders.
Thanks for the software and help
Robert

Posted: Wed May 21, 2008 5:32 pm
by Klemen
In submit_ticket.php try changing

Code: Select all

$email=hesk_validateEmail($_POST['email'],'ERR',0) or $hesk_error_buffer[]=$hesklang['enter_valid_email'];
to

Code: Select all

$email=hesk_validateEmail($_POST['email'])
and

Code: Select all

$message=hesk_input($_POST['message']) or $hesk_error_buffer[]=$hesklang['enter_message'];    
to

Code: Select all

$message=hesk_input($_POST['message']);

You can disable any other fields similarly.