Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

input text from drop down custom list and output to ticket body message

We currently have a custom drop down for our locations (different buildings).  Currently on the Android App the location drop down is not visible.  So I would like to out put the selection from the custom list/drop down to the top of the ticket.  This will allow us to see the location on our mobile devices.  Does anyone know how this can be done.  I would imagine the data would have to be pulled from the SQL database and output at the top of each original ticket entry.  Please Help!!


  • Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance.  The more information you give us the better we will be able to assist you. Thank you.

    There is no Android App.  So there is no way that anyone here can help you with that.

    Why not just Add a custom field/list.  Populate it.  When you log in and view the ticket via the web ui you will be able to see the populated response.
  • Server Information
    osTicket Versionv1.9.14 (8b927a0)  Upgrade— v1.9.15 is available
    Web Server SoftwareApache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.24
    MySQL Version10.1.16
    PHP Version5.6.24

    Attached is a picture of the App I found on Google Play.  

    The next attachment is the location of the custom menu when creating a new ticket.  

    The last attachment is the output of the drop down and where I would like the custom menu to output text in to the top of the thread/ticket.

  • As you can see on the image from the play store that you posted, it's not officially developed by osticket, it's developed by red4sis.

    So if something is not working in the app, you'll have to ask them about the problem since it doesn't seem to be a problem with osTicket itself.
  • Regardless of the App, I would like to Put the location drop down text at the top of the initial ticket thread.  Anyone know  how to do something like that?
  • If you edit the ticket form you should be able to add it there and drag it to the top, the only drawback is that you'll always have it on all tickets.

    Other way is if you were to switch place with the ticket form and dynamic data but then all custom fields will appear over the ticket data.
  • Micke1101, can you elaborate on the following statement.  Like where I should start to do this?  Thanks!

    "Other way is if you were to switch place with the ticket form and dynamic data but then all custom fields will appear over the ticket data."
  • Simplest way is to do this
    <?php foreach (array_reverse($forms) as $form) {

    foreach (array_reverse($topic->getForms()) as $form) {
  • edited June 2017
    Thanks Micke1101!!  Took a look at the code and cant make sense of it....  (New to PHP coding)  Below is a picture of my custom field.  I just want to call my location variable to input at the top of the of the ticket thread.  also pictured below.  Any ideas how i might do so?  Thanks!



    So basically in this ticket thread, right above "Good Morning-"  The output from the location dropdown would be printed. 
Sign In or Register to comment.