Script URL: Hesk
Version of script: 0.94.1
Hosting company: Private (intranet)
URL of phpinfo.php: private, n/a
URL of session_test.php: private, n/a
What terms did you try when SEARCHING for a solution: Tried everything
Write your message below:
Hello,
Index page has a javascript that toggles the "Forgot your TAC tracking ID?" fields....
I would like to incorporate this so that you can toggle the "custom fields" when submitting a ticket. In other words, the customer would have a link or button that toggles the display of the custom fields on the submit form...otherwise he/she would only see the required fields at the top (name, email, category, priority, subject and message)
If possible (and easy enough to do) please share how...this is very useful.
MANY THANKS
PS - I posted on other section but have not received reply. I'm posting here in case it was in the wrong area
RESOLVED: Adding a toggle link to view the custom fields
Moderator: mkoch227
RESOLVED: Adding a toggle link to view the custom fields
Last edited by jnicastr on Thu Nov 01, 2007 8:03 pm, edited 1 time in total.
Try this:
open index.php in Notepad and change line 138 from to
and line 155 from to
Do the same for lines 179 and 196.
Save, upload and test. Didn't test it myself, but should work.
open index.php in Notepad and change line 138 from
Code: Select all
echo '<table border="0">';
Code: Select all
echo '<p><a href="Javascript:void(0)" onClick="Javascript:hesk_toggleLayerDisplay(\'custom\')">Show more options</a></p><div id="custom" style="display: none;"><table border="0">';
Code: Select all
echo '</table> <hr>';
Code: Select all
echo '</table></div> <hr>';
Save, upload and test. Didn't test it myself, but should work.
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
Thanks, donations/license purchases are welcome but in no way required.
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
Well...the way I look at it is this. You take personal time to help with a custom item outside the realm of normal support...you should be compensated. Plus, mods help me learn the way the engine works a bit. Maybe not directly, but it can open my eyes to other things. So all in all, I don't mind sending a token of appreciation. Plus I get a license 
