Versi HESK: 2.4.1 - HESK is up to date
PHP version: 5.3.0
MySQL version: 5.1.37
/hesk_settings.inc.php Exists, Writable
/attachments Exists, Writable
What terms did you try when SEARCHING for a solution: error handling
Write your message below:
i want to know the way that we can have error handling for certain menu like category and priority. it will looks like "please choose category" and "please choose priority"
Error handling for category and priority
Moderator: mkoch227
Re: Error handling for category and priority
Not sure what you mean? If all you want is to change the error message text, you should find it inside "language/en/text.php" file, see:
http://www.hesk.com/knowledgebase/?article=34
http://www.hesk.com/knowledgebase/?article=34
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Error handling for category and priority
I see what you mean
throw this below you TD lines in your /admin/new_ticket.php and the user portal thing too, i'm not sure where that file is.
The line you are adding is
throw this below you TD lines in your /admin/new_ticket.php and the user portal thing too, i'm not sure where that file is.
Code: Select all
<td style="text-align:right" width="150"><?php echo $hesklang['category']; ?>: <font class="important">*</font></td>
<td width="80%"><select name="category" <?php if (in_array('category',$_SESSION['iserror'])) {echo ' class="isError" ';} elseif (in_array('category',$_SESSION['isnotice'])) {echo ' class="isNotice" ';} ?> >
<option value="">-- Please select --</option>
Code: Select all
<option value="">-- Please select --</option>