Please join your peers on either March 26 (8pm GMT) or March 28 (8am GMT) to watch as user extraordinaire and forum legend @"lindsay.stevens" demonstrates OpenClinica Insight.

See preview and register at https://openclinica.com/insight-webinar

Insight makes it easy to ask questions of ALL of your clinical and operational data and visualize answers via interactive reports and dashboards. The idea is simple, but the results are powerful: ask your questions, choose your visualizations, then return often for updated, interactive results that link you to all of the underlying data.

View more than three section tabs

Hi,

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?

Thanks!
Eric

Comments

  • haenselhaensel Posts: 570 ✭✭
    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
    Christian
  • haenselhaensel Posts: 570 ✭✭
    edited January 8
    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
    jQuery("#Tab4").show();

    Regards,
    Christian
  • ebsebs Posts: 118 ✭✭
    Thanks Christian.

    I'll have a look.

    Cheers
    Eric
Sign In or Register to comment.