Page 1 of 1

Create ticket - form

Posted: Mon Dec 26, 2016 1:34 pm
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 :-)

Re: Create ticket - form

Posted: Mon Dec 26, 2016 6:55 pm
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,

Re: Create ticket - form

Posted: Mon Dec 26, 2016 8:10 pm
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)

Re: Create ticket - form

Posted: Tue Dec 27, 2016 7:57 am
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