View Full Version : Add Field
vintom
01-22-2008, 05:19 PM
Is there a way for me to add a field to the ticket?
We have several clubs, so I would like to add a dropdown like this:
Choose Club:
Battle Creek Club
Lancaster Club
Keizer Club
South Salem Club
West Salem Club
Tennis Center
Any ideas?
Corey
02-06-2008, 01:28 PM
This is kind of an old topic... but if you still need help let me know. It's not very hard.
acerteng
02-06-2008, 04:08 PM
This is kind of an old topic... but if you still need help let me know. It's not very hard.
Corey, do you have a link to the topic? It looks like a couple of people have been asking questions but no replies.
Corey
02-06-2008, 04:20 PM
Corey, do you have a link to the topic? It looks like a couple of people have been asking questions but no replies.
I was saying this post was an old topic. The thing he wants to do isn't very hard though and would take like 10-15 minutes if that.
vintom
02-07-2008, 02:57 PM
Yes, I would still love to get help on this topic!
Thanks!
MixxerY
02-14-2008, 11:47 AM
Hi, please help me! I need to add fields too! I have'nt found anything about this in the wiki or forum!
Regards,
Stephan :cool:
hey,
i know that this thread is very old and maybe nobody wants to know it now, but there is no solution!
Thats why I'll post my code here now:
Example: You will add the field "location"
First add a new field like in this thread:
http://www.osticket.com/forums/showthread.php?t=873
Then open ../staff/newticket.inc.php and add between 2 tablerows:
<tr>
<td align="left">Location:</td>
<td>
<select name="location">
<option value""selected >-Please select-</option>
<option>location1</option>
<option>location2</option>
<option>location3</option>
</select>
</td>
</tr>
In ../client/open.inc.php you'll have to do the same.
Now you have a simple dropdown menu.
Best regards,
Torben
rogden21
06-26-2009, 02:26 PM
Does anyone have any advice as to add an additional field that will save the ID in the ticket table, but will display the description of an item from another table.
Kind of how the priority works.
Please let me know.
thingstobuy
08-05-2009, 07:02 PM
I to would like to know how you can do it, i have created a new table in mysql and manage to get the options viewable but when you submit the form it doesn't input the data