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

How to use very long text in RESPONSE_OPTIONS_TEXT

kristiakkristiak Posts: 1,338 ✭✭✭
We are working on a study where the investigators would like very long text options in a radio buttons area. The problem with this is that the text does not wrap to several lines, instead it just expands to the right so you must scroll for ever to read the entire options text. Is there any way to wrap the text after 80 characters?


  • GerbenRienkGerbenRienk Posts: 819 ✭✭✭
    edited December 2015
    Hi Krister,
    This is because the td in which the options are has the attribute nowrap.
    However you can remove that with a bit of script:

    <div id="B"></div>
    <script src="includes/jmesa/jquery.min.js"></script>
    <script lang="Javascript">$.noConflict();
    var T = $("#B").parent().parent().children("td:nth-child(3)");

    Be careful with what you wish, because your CRF will look something like this:

    I added this information to http://www.trialdatasolutions.com/tds/howto/layoutchanges.jsp
    Kind regards,
    Gerben Rienk
This discussion has been closed.