We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

View more than three section tabs


Does anyone have a method for changing the CRF so that more than three section tabs are displayed by default. Our users would like to see all 5 tabs without having to use the "Select to Jump" drop down list.

I see in the source code that there is a Javascript variable TabsShown which is set to 3. Is there a simple way to set that to a different value?



  • haenselhaensel Posts: 602 ✭✭✭
    Hi Eric

    I'm pretty sure this variable is legacy and does not influence the tab behavior any more.
    The easiest possible way is to change the js function 'selectTabs' from 'global_functions_javascript.js'. But there is more work to be done then changing a simple variable.

    Good luck
  • haenselhaensel Posts: 602 ✭✭✭
    edited January 2018
    If you do not want to change the original function, it might be an option to embed js in the crf that counts the number of displayed tabs and shows more if necessary. The tabs are all available but are hidden with 'display:none'. This code shows the fourth tab

  • ebsebs Posts: 137 ✭✭
    Thanks Christian.

    I'll have a look.

Sign In or Register to comment.