Help Desk Software & Beyond
May 21, 2012, 10:51:26 PM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [REQ] disabling requirement for "email" address in ticket creation  (Read 1989 times)
pnewlon
Newbie
*

Karma: 0
Posts: 2


View Profile
« on: December 12, 2006, 05:21:06 PM »

I commented out the error checking section in TTXTicket.pm where the code looks for an email address from the form. 

  if ($ticket->{email} eq undef) {
    $error .= '[%Missing Email%]<br>'."\n";

After doing so, when I click on the Submit button in the ticket creation step, the browser hangs and a ticket is never created.

How can I "turn off" the requirement for a email address?
« Last Edit: January 18, 2008, 03:51:30 PM by sparky672 » Logged
Magnus Wester
Full Member
***

Karma: 2
Posts: 116



View Profile WWW
« Reply #1 on: December 12, 2006, 05:30:19 PM »

I guess the rest of the code expects an e-mail address there, to which it forwards all updates to the ticket.
One circumvention is to modify the code to insert a "black hole" e-mail address (e.g. "delete@domain.com") if the user didn't provide one.
Of course, without an e-mail address in the ticket, the user would have to return to the TTX web application regularly to track the progress of the ticket.
Logged
pnewlon
Newbie
*

Karma: 0
Posts: 2


View Profile
« Reply #2 on: December 13, 2006, 04:56:39 PM »

I guess the rest of the code expects an e-mail address there, to which it forwards all updates to the ticket.
One circumvention is to modify the code to insert a "black hole" e-mail address (e.g. "delete@domain.com") if the user didn't provide one.
Of course, without an e-mail address in the ticket, the user would have to return to the TTX web application regularly to track the progress of the ticket.

I did that as a stop-gap solution (I created an alias that sends all received mail to /dev/null).  I am not expecting my users to ever "see" the status of their ticket - all communication with the end-user having a problem is via phone with the help desk person.  Maybe I can remove the field entirely and hard code the email address.... but that might be considered kludgy  Roll Eyes
Logged
Magnus Wester
Full Member
***

Karma: 2
Posts: 116



View Profile WWW
« Reply #3 on: December 13, 2006, 05:03:42 PM »

I don't know, changing the templates is always OK compared to patching the code, why not just make the field hidden in the template, with the blackhole address as the default?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.02 seconds with 17 queries.