Not requiring email address

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
rperkins
Posts: 2
Joined: Wed May 21, 2008 5:12 am

Not requiring email address

Post 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
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
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
Post Reply