Create ticket - form

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
jones
Posts: 75
Joined: Sat Jul 20, 2013 6:41 pm

Create ticket - form

Post by jones »

HESK version: 2.6.7
Mods for HESK Version: 2.6.1
PHP version: 5.6.29 (MySQLi)
MySQL version: 5.5.53-MariaDB-1~wheezy


Hi,

I will create a custom field, that the customers need to field out before they can create a ticket.

How can i create a custom field, where the customers can check more, then 1 of (with checkboks) and where i can insert more than 1 check box on each line?

I have try with: "chekcboks" but i can not see how i can create 3 checkboks on each line.

Like this: https://www.dropbox.com/s/z5itagv0sp6lp ... m.jpg?dl=0

Thanks :-)
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Create ticket - form

Post by Klemen »

There's no built-in way of doing this. You would need to modify the programming logic to track number of checkboxes and insert a <br /> tag after each 3rd one,
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
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Create ticket - form

Post by mkoch227 »

Mods for HESK renders checkboxes a little bit differently than regular HESK. Besides what Klemen noted, you'll also need to add the "form-inline" CSS class to the div tag along with the "form-group" CSS class that already exists.


EDIT: It looks like this is my 404th post. I'm surprised it's not found :lol: (not sure how many will get the joke)
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
jones
Posts: 75
Joined: Sat Jul 20, 2013 6:41 pm

Re: Create ticket - form

Post by jones »

Hi Klemen & Mike,

Thanks a lot for feedback/reply :wink:

I think i need to fix this on a other way. Because i will not change anything in css, becuase we need this system every day.
It is becuase we use hesk + mods-for-hesk to computer and mobile repair tracking to the customer.

And the customer create they own case/ticket. Where they also need to check what accessories they have send with the computer or the phone.
So we can check this before we send the phone or the computer back after repair.

Og right now we have about 9 thing we will insert i a boks like i have right before and on the picture i have add in the link.

> Klemen, i have try your solution. But the text is just write like this on each line:
Batteri <br/> Oplader <br/> Batteriklap <br/>
Strømsforsyning <br/>

And without any checkboks.
You can see the create ticket form here: http://rma.kjdata.dk/index.php?a=add

The create ticket form is only in Danish.

> Mike, wow have you already helped so many :D
Post Reply