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

JavaScript how to set the textarea automatically change by input in the CRF?



  • haenselhaensel Posts: 602 ✭✭✭
    edited January 2015
    Hi huamanzhu

    You can wrap your text within words using javascript (see an example here) but then the newlines (that are used to wrap the text) are saved into the database (I guess that's not what you want unless that's no problem in the used language).

    What do you mean by "automatically change Height and width"? Do you want to disable the scrolling and make all text visible?

    I created an example for adjusting the height dynamically (here).

This discussion has been closed.