Help Desk Software & Beyond
October 23, 2017, 10:18:51 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: Sumbit New Ticket: Missing Fields errors - notify via popup  (Read 5071 times)
qtipextra
Newbie
*

Karma: 0
Posts: 15


View Profile
« on: October 30, 2014, 12:17:24 PM »

When a user tries to submit a ticket, if they are missing any required fields, the header.shtml calls and outputs (%ERROR_BOX%) to the current window. I'd like to output (%ERROR_BOX%) in a popup, instead of at the top of the current page.

In Example, here is what it currently looks like:


Here is what I want it to look like:


This is just a test script that I put in to show what I want, but have no idea how to display the information contained within (%ERROR_BOX%) inside of it.
Code:
<script>
{alert("Missing Name\ninvalid Email\nMissing Subject\nMissing Description");}
</script>

Is there any way to accomplish this?
« Last Edit: October 30, 2014, 01:53:15 PM by qtipextra » 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.017 seconds with 19 queries.