Hello

i want to use a checkbox on my forms. Of course i have no problem to insert one as custom field in forms, they also works as they should - but visually i think there is something odd.

The Checkbox text (Description text / Text shown inline with the widget) is not shown in the same line as the checkbox.

Please check the following picture:

Is there something i need to configure?

I'm using a fresh install of osTicket v1.14.3

Thank you very much!

@Shimo

I am using v1.14.3 and cannot replicate this. My Checkbox Description shows as inline with the actual checkbox:

Cheers.

    Hey
    thanks for the answer. I also had this problem in the previous osTicket Version - so I think it must have something to do with my server configuration? Are there dependencies which can influancing the checkbox behavior which i can check?

    We are running
    PHP-Version 7.2.33
    Server: Apache
    MySQL-Version 5.6.13

    is working
    gdlib
    imap
    xml
    xml-dom
    json
    mbstring
    phar
    intl
    fileinfo
    zip
    Zend Opcache

    is not working yet
    APCu

    Thanks!

    6 days later

    Updated on PHP-Version 7.3.21 - still the same "problem". Anyone any idea what i could try?

    Thank you!

    Try another browser.
    Check it in DevTools and try changing the width of the element to see if it helps.

      a month later

      PavelH
      i've checked in current versions of Firefox, Chrome and Edge - all with the same issue :/
      How can i check / change the width? If i try analyze the widget with DevTools, the checkbox, the description text and the checkbox name are 3 seperate values?

      KevinTheJedi
      really strange >.>
      Can that be also a server setting?

      Thank you for your help!

      @Shimo

      I highly doubt it but I don't rule anything out nowadays lol

      Cheers.

      7 months later

      Same visual problem as Shimo here ! Label are under the checkbox ... Weird ...
      PHP - Version 7.3
      Server: Apache
      MySQL - Version 5.5.62

      Can somebody help with this ?

      Thanks

      It's more likely the web browser that you are using. Which is?
      Have you tried a different web browser?

      10 days later

      I already try with :

      • Firefox 78.9.0
      • Microsoft Edge Chromium 90.0.818.46
      • Google Chrome 89.0.4389.128
        Same issue ...

      My guess would be that it is a language pack problem. If you switch to English does the problem go away?

      I just roll back to English, and same issue ...

      So neither @KevinTheJedi nor I can replicate the issue that you are reporting. SO not sure what to tell you at this point.

      Open your page in Chrome, hit F12 and then CTRL+SHIFT+C. Click on text near checkbox.
      Try change display: block; to display: inline-block;.
      Like this:

      Is the element now displayed correctly?

      5 days later

      As you can see, I didn't have the same class name ... Even the css file name is diffrent !
      So to try your solution, I apply the inline-block on the element. But the problem is still there ...

      Yeah I see the <br> tag too. But if I delete it in the code, all input will be impacted, so text input label will be on the same line as the input ... I think he problem is somewhere else ...

      @KevinTheJedi knows how to fix the problem best.
      The important thing is that he now knows where the problem arises.

      @iteam

      I would suggest making a full backup of the osTicket site files, make a full backup of the osTicket database (just in case), move all the osTicket site files outside the HTML directory, download latest version of osTicket, unzip the download, move all the files from the upload/ directory from the unzipped archive to the HTML directory, copy over your include/ost-config.php file from the site files backup to the HTML directory, copy over all plugins and language packs from the site files backup, upgrade if required, and retest.

      Sometimes people just copy/replace files and it doesn't copy over all files, some overwrites fail or get half re-written, etc. It's best to do the steps above each time you upgrade so no old files are lingering or prevent new files from being copied, etc.

      Cheers.

      Write a Reply...