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

Character Counter

HI All,

Does anyone have a Character Counter snippet of code to apply to a text area?

With the issue with the limited 255 characters i was hoping a “keyup” procedure would help users know how many characters where remaining.

If you have other alternatives (other than using the discrepancy management 4000 characters) that would be great also.

BW

Jon Cresswell
Senior Data Manager
Department of Molecular and Clinical Pharmacology
Institute of Translational Medicine University of Liverpool
Block A: Waterhouse Buildings
1-5 Brownlow Street
Liverpool
L69 3GL
Tel: (+44) 151 795 5389

Comments

  • GerbenRienkGerbenRienk Posts: 810 ✭✭✭
    Dear Jon,
    Please find attached a zip with an example XL.
    I could not make it work with keyup, but instead set a timer to check
    every 500 msec.
    There is also an example for text-area.
    Hope this helps,
    Gerben Rienk
    http://www.trialdatasolutions.com
    > > HI All,
    > >
    > >
    > >
    > > Does anyone have a Character Counter snippet of code to apply to a text
    > > area?
    > >
    > >
    > >
    > > With the issue with the limited 255 characters i was hoping a “keyup”
    > > procedure would help users know how many characters where remaining.
    > >
    > >
    > >
    > > If you have other alternatives (other than using the discrepancy
    > > management 4000 characters) that would be great also.
    > >
    > >
    > >
    > > BW
    > >
    > >
    > >
    > > Jon Cresswell
    > >
    > > Senior Data Manager
    > >
    > > Department of Molecular and Clinical Pharmacology
    > >
    > > Institute of Translational Medicine University of Liverpool
    > >
    > > Block A: Waterhouse Buildings
    > >
    > > 1-5 Brownlow Street
    > >
    > > Liverpool
    > >
    > > L69 3GL
    > >
    > > Tel: (+44) 151 795 5389
    > >
    > >
    > >
    > >
    Attachments:
    CharacterCounter.zip 13.9 KB
  • agoodwinagoodwin Posts: 131 admin
    Hello,
    Though this is not yet configurable in the OpenClinica CRF template, we do have plans to modify this in the future. Please see: https://issuetracker.openclinica.com/view.php?id=5487. If you have any additional feedback, please let us know.
    Best Regards,
    Alicia
    OpenClinica
    On Tue, Jan 1, 2013 at 11:15 AM, Gerben Rienk wrote:
    Dear Jon,
    Please find attached a zip with an example XL.
    I could not make it work with keyup, but instead set a timer to check
    every 500 msec.
    There is also an example for text-area.
    Hope this helps,
    Gerben Rienk
    http://www.trialdatasolutions.com
    > HI All,
    >
    >
    >
    > Does anyone have a Character Counter snippet of code to apply to a text
    > area?
    >
    >
    >
    > With the issue with the limited 255 characters i was hoping a “keyup”
    > procedure would help users know how many characters where remaining.
    >
    >
    >
    > If you have other alternatives (other than using the discrepancy
    > management 4000 characters) that would be great also.
    >
    >
    >
    > BW
    >
    >
    >
    > Jon Cresswell
    >
    > Senior Data Manager
    >
    > Department of Molecular and Clinical Pharmacology
    >
    > Institute of Translational Medicine University of Liverpool
    >
    > Block A: Waterhouse Buildings
    >
    > 1-5 Brownlow Street
    >
    > Liverpool
    >
    > L69 3GL
    >
    > Tel: (+44) 151 795 5389
    >
    >
    >
    >
This discussion has been closed.