Zum Hauptinhalt gehen

Hiding a TimePicker on Out of box form.

Kommentare

3 Kommentare

  • Permanently deleted user
    There are specific handheld/tablet URLs included with the viewer, you could try loading the handheld/tablet viewer URL in your desktop browser and then using developer tools.

     

    e.g. http://<viewerurl>/tablet.html?viewer=<viewername>

     

     
    0
  • Permanently deleted user
    Thank you,  I did not know about the tablet and handheld URLs! That will be useful moving forward.   Unfortuately, the output was the same as the desktop.

     

    I also looked at the previews within Geocortex Essentials manager for table and handheld.  They do not accurately represent the form fields either.

     

    Thank you Andrew Biggins!
    0
  • Permanently deleted user
    Here is the answer:

     

    Updated the custom Handheld.css and the custom Tablet.css the below.

     

    The ui-timepicker-div is the only one needed for the custom desktop.css.  I just kept it to be consistent.

     

    And the timepicker-* on my output was timepicker-9k5MK4G7, and I have also seen timepicker-Hv3X3Z8E, so I do not know if would need to use something other than the wild card.

     

    .ui-timepicker-div, .time-select, .timepicker-*{

     

        display:none !important;

     

    }

     

    .dp-tp-select, .datetime-select time{

     

    display:none !important;

     

    }

     

     
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.