Page 1 of 1

custom fields not reset after submiting

Posted: Thu Apr 02, 2009 1:57 pm
by ud2008
Script URL:
Version of script: 2.0
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:

I've added a couple of custom fields and when I submit a ticket, then when I want to add a new ticket the custom fields are still filled and not reset.

How can I reset them?

I already tried the suggestion Klemen made in topic below:
viewtopic.php?t=1519&highlight=reset+custom+fields

But this didn't solve anything.

Posted: Thu Apr 02, 2009 5:04 pm
by Klemen
Try adding

Code: Select all

unset($_SESSION); 
above

Code: Select all

require_once(HESK_PATH . 'inc/header.inc.php');
in the submit_ticket.php file.

Posted: Fri Apr 03, 2009 6:32 am
by ud2008
Tried it, but result is still the same.

What else could it be :?

Posted: Fri Apr 03, 2009 7:00 am
by MOB
Yes, I am also having the same problem. I am using Mozilla Firefox.

Update:

It seems to happen when I am logged in as an Admin and when I am just testing the ticket system. Hmm? After I log out and close the page on my browser, it seems to return back to normal.

Posted: Fri Apr 03, 2009 12:55 pm
by Klemen
Your customers won't be logged in as administrators. So it works fine if you just access the customer interface? Test it by closing all browser windows and submitting a ticket as a customer.