Modify Field

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
yanxandnix
Posts: 4
Joined: Sun Oct 02, 2005 10:44 pm

Modify Field

Post by yanxandnix »

Script URL: internal LAN
Version of script: 0.93.1
Version of PHP: 4
Hosting company: internal LAN
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:

Write your message below:
I would like to use the category field for something else. I would like to use it for Company Name instead. I support several different companies and this would be helpful. I added the different company names to the category list. I am trying to pass the category as a hidden field but it does not seem to be working. Is there an easy way to do this?
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

This might be helpful:

viewtopic.php?t=315
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
yanxandnix
Posts: 4
Joined: Sun Oct 02, 2005 10:44 pm

Modify Field

Post by yanxandnix »

Thanks.....I saw that post prior to my question. It adds the fields to the form and e-mail but doesn't add them to the database. (if I understand it correctly) I would really like to have this in the database. I really don't need the category field so I was thinking I could use it for something else. I was able to modify the category field to use it as I would like to. (company name) I guess the problem I am having is that I would rather have it passed as a hidden form field instead of a select box. Is there an easy way to do this?
yanxandnix
Posts: 4
Joined: Sun Oct 02, 2005 10:44 pm

More Info

Post by yanxandnix »

I tried modifying the HTML code to use this:
<input name="category" type="hidden" value="Company_Name" />
instead of the Select Box. However, it always seems to use whatever category is set as the default.
yanxandnix
Posts: 4
Joined: Sun Oct 02, 2005 10:44 pm

Post by yanxandnix »

I figured this out. I was passing the wrong variable. I changed it to pass the row ID instead and it works just fine. Thank you for your assiatance and a great script.
Post Reply