Character Count should be displayed under TextEditor

Hi Experts!!
We have a text editor in which the character limit is 250. The users want the count to be displayed when they are entering the text inside the editor like n/250. n should be increasing when the user is entering the text.
We have been using C_TEXTEDIT_CONTROL and I cannot see any possibility of getting this here. Can somebody suggest me with some inputs?
Your help is highly appreciated. Thanks a lot.

Try to toggle some of the gfx and layers prefs on the about:config page to disable some features.<br />
Filter: /gfx|layers/
http://kb.mozillazine.org/about%3Aconfig

Similar Messages

  • Character counter does not display data on IE when counter is 0

    Hi,
    I am implementing a character counter in ADF using Javascript (referencing this http://www.oracle.com/technetwork/developer-tools/adf/learnmore/10-char-input-counter-169133.pdf).
    I display the string --> 'x' characters left
    The problem that I am facing is: when my character counter becomes 0 (can no longer enter any text, the maxlimit of the input field is reached) then on IE browsers, it does not show the character '0'. It displays a blank. On Firefox and Chrome, however, the UI gets displayed as expected i.e. 0 characters left.
    Can I get any pointers how to fix this on IE. Have tested with IE versions 7,8,9. JDev version is 11.1.1.5.0
    Here is the code snippet that I am using:
    Javascript:
    function showCharacterCount(event) {
    var keyCodePressed = event.getKeyCode();
    if (keyCodePressed == AdfKeyStroke.TAB_KEY
    || keyCodePressed == AdfKeyStroke.ARROWLEFT_KEY
    || keyCodePressed == AdfKeyStroke.ARROWUP_KEY
    || keyCodePressed == AdfKeyStroke.ARROWRIGHT_KEY
    || keyCodePressed == AdfKeyStroke.ARROWDOWN_KEY) {
    event.cancel();
    else {
    textfield = event.getCurrentTarget();
    textfieldValue = event.getSource().getSubmittedValue();
    textfieldLength = textfieldValue.length;
    textfieldMaxLength = textfield.getMaximumLength();
    o = AdfPage.PAGE.findComponent('characterCounter');
    characterCounterValue = o.getValue();
    characterCounterValue = textfieldMaxLength - textfieldLength;
    o.setValue(characterCounterValue);
    UI:
    <af:panelGroupLayout id="pgl3" layout="horizontal">
    <af:outputText id="characterCounter" clientComponent="true" value="325"
    inlineStyle="text-align:right; display:block; width:100.0px;"
    binding="#{viewScope.myBean.characterCounterBndg}"/>
    <af:outputText value="characters left" id="ot7"
    inlineStyle="padding-left:5.0px;"/>
    </af:panelGroupLayout>
    <af:inputText id="it2" rows="4" columns="53"
    value="#{viewScope.myBean.text}" maximumLength="325" clientComponent="true"
    simple="true">
    <af:clientListener method="showCharacterCount"
    type="keyUp"/>
    </af:inputText>
    Thanks in advance.

    Try converting from dynamic data, that seems to take care of the problem. Also, you could use the regular field point VIs instead of the FP express VI. Check out the attached VI.
    -Alan A.
    Attachments:
    FP_Read.vi ‏30 KB

  • E7 SMS character count bug

    belle introduced, amongst painful others, an SMS character count bug, where, when you type an SMS with the hardware keyboard, the SMS character count is not displayed. it is displayed only when you type using the onscreen keyboard.
    recently e7 received a calendar fix. any idea whether the SMS character count bug fix has been issued?

    Hi DDeridex & metal_might
    Have you tried to re-install the software of your devices using Nokia Suite? If not yet, maybe worth trying. Go to Tools > Software Updates > Re-install.
    Hope this will help you. 
    If my post helped you, please don't forget to click on the "White Star" and if it resolved your issue click on "Accept as Solution"

  • Character count display problem in IE

    Hi all,
    I have implemented a character counter in ADF using Javascript (referencing this http://www.oracle.com/technetwork/developer-tools/adf/learnmore/10-char-input-counter-169133.pdf).
    The problem that I am facing is: when my character counter becomes 0 (can no longer enter any text, the maxlimit of the input field is reached) then on IE browsers, it does not show the character '0'. It displays a blank. On Firefox and Chrome, however, the UI gets displayed as expected i.e. 0 characters left.
    Let me know how to fix this on IE. Have tested with IE versions 8,9. JDev version is 11.1.1.7.0.
    Thanks,
    Anu.

    Hi,
    debugging the JavaScript to see what the value of the variable really is is a good start. If it turns out that it is becoming null, then you could use a if() case in that whenever the value is null you set it to 0. If the value however is correct but just doesn't render then you can try and transform it to a character instead of a number to see if the numeric output is the problem. This is how I would address the problem
    Frank

  • Textarea w/character counter problem

    Hi!
    We use a textarea with character counter and limited its max width to 500 chars. If max 500 chars have been inserted, then input stops after 500 chars. That works fine in MS Internet Explorer. Even if you insert CR/LF inputs (ENTER button), the max number of typed in chars will not exceed 500. Using Mozilla Firefox, it is possible to insert many CR/LF, which increases the typed in number by 2. Thus you get e.g. "548 of 500" displayed beyond the textarea. After updating the page in IExplorer even here you get the same counter status displayed. As long as you do not type in the textarea field, the char counter remains as it is and the data can be submitted and finally stored in database.
    Qu: Has anybody experienced teh same problem with max chars and CR/LF. Any idea of a workaround prevent "548 of 500" in textareas when typing in CR/LF ?
    Br,
    Thomas

    The CharCount() function that is used by APEX should be updated to contain javascript code similar to the code described here:
    http://pikasoftware.com/docs/index.php/Validating_TextArea

  • While executing TCode F13 and F13E, purchase order number is not appearing.how it should be displayed into tcode f.13, please any one help me

    While executing TCode F13 and F13E, purchase order number is not appearing.how it should be displayed into tcode f.13, what are the requirements need to display into tcode f.13, please any one help me, i am facing this problem in  production server

    Hi Nattu,
    Please check it will show the PO no under Purchasing doc field
    Check which layout you are applied.
    its should be
    SAP&F124
    Without Specification of Crcy
    Regd,
    Khan.

  • Inserting new line in script output based on character count

    Dear All,
    I want to print amount in words on cheque. Condition is if on the first line the character
    count reaches 40 the rest words should be printed in next line. Also amount in word
    should be printed  on the same line. 
    I have the internal table values itab-amtwords(amount in words and ) itab-rbetr(amount in number)
    I want to print them something like this -
       Sixty seven crore eighty five lakh twelve thousand     
       fourty five                                                                678512045.00
    the amount in word should come in second line only. The amount in word if reaches certain point
    the rest word should print in second line.
    How to write the logic in script editor
    Regards,
    Sandeep

    the amount in number should print in the second line.
    2163126312.00
    regards
    sandeep
    Edited by: Sandeep Sahoo on Apr 17, 2009 4:34 PM
    Edited by: Sandeep Sahoo on Apr 17, 2009 4:38 PM

  • Inserting new line in output based on character count +sapscript

    Dear All,
    I want to print amount in words on cheque. Condition is if on the first line the character
    count reaches 40 the rest words should be printed in next line. Also amount in word
    should be printed  on the same line. 
    I have the internal table values itab-amtwords(amount in words and ) itab-rbetr(amount in number)
    I want to print them something like this -
       Sixty seven crore eighty five lakh twelve thousand     
       fourty five                                                                678512045.00
    the amount in word should come in second line only. The amount in word if reaches certain point
    the rest word should print in second line.
    How to write the logic in script editor
    Regards,
    Sandeep
    Moderator message - Cross post locked
    Edited by: Rob Burbank on Apr 17, 2009 10:46 AM

    the amount in number should print in the second .
    2163126312.00
    Regards,
    Sandeep

  • Character Counter for ADF 11g RichTextEditor

    I am rewriting an application in 11g RichFaces. The original app had a text area that had a maximum allowable length and used a Javascript function to display to the user how many characters they had left as they were typing. In the new app, I have replaced this functionality with the WYSIWYG RichTextEditor, but would like to give them the same functionality that they had before. I would like to display, as they type, a character count. The count needs to be of the actual displayed characters, not the count of HTML characters that are generated behind the scenes by the RichTextEditor.
    Is this possible?

    huh? waking up a 1-year-old thread to ask an unrelated question (and a demand for us to write your code for you to wit)?

  • Character Count Bug? (IDCS4 WinXPSP3)

    Here's a little bug. Apologies if it's been mentioned before.
    The Info palette tells you how many characters your selection contains. If you select the word "hello" the Info p. says: "Characters: 5"
    If you select an entire line that happens to contains a foontnote marker, the character count includes all the characters in the footnote itself. So while an average line might have 70 characters, a line containing a footnote might appear as though it has 1000 characters or more (depending on the length of the footnote).
    Now, as scripters will be aware (and please correct me if I'm wrong), the footnote marker is the parent of the footnote text. So that's probably where the bug comes in.
    But I don't think this should be reflected in the Info palette.
    Thanks,
    Ariel

    Have you reported it? Adobe - Feature Request/Bug Report Form

  • Character count

    Hi,
    As most of the InDesign User know info window show text box character count, words even the paragraphs their in selected text box.
    I want to know is their a way to see these all text layer stats in Photoshop?
    Thanks
    Jamal

    You could probably use a Script to evaluate a selected Type Layer. (It may be difficult, though, to get the word count depending on your definition of word.)
    To have that feedback on display permanently you probably would have to create an html5 Panel.

  • Dynamic character count

    Is it possible to have a display of how many characters are showing in a text box (without highlighting text) and when the size of the box is changed the character count is updated.
    For example if I have a text box and I have more text in that box then can fit so it is "busting out of the box"... can I get a character count display telling me how many characters are in the text box disregarding the overflow text... and as I pick up the text box handles and start resizing the text box the character count display updates on the fly... only counting the characters visible in the text box and not the ones that have busted out of the box.
    Regards, Tim

    There appears to be something wrong with your InDesign. This is what it looks like for me:
    Try resettting your preferences.

  • Character counting (count down) in Acrobat

    I have a PDF file with text fields that is going to be used by some of our writers and integrated into presentation decks across multiple programs. We have a lot of it working well and I've been able to piece some bits of code together here and there but I'm no programmer. Where I've hit a roadblock is with adding a visual character counter to the file.
    The file is set up to reflect an actual printed piece where there are limitations on line counts and characters per line. The line counts we aren't as concerned with but having a counter display how many characters you've typed to a line is important. I hope this makes sense. So basically we have one area where you can have a total of 10 lines and 30 characters (including spaces) on each line for a total of 300 characters. What would be great for us is if the text field could have a counter pop up showing something stating that the writer has entered "10 out of 30" characters for the particular line they're on.
    Is this a simple fix or something where I could be pointed somewhere to put a script togeteher? I've tried for a few days now and frankly this is like launching a missle into space for me. I'd greatly appreciate any help/insight you could offer and would be glad to share my expertise on any design or experience issues you may be having.

    Those are all great ideas Max and certainly stuff we can consider for building on this.
    The reason we need to block the characters after a certain count is due to a system this will be entered into. Our client will be copying and pasting the blocks of text into a technology platform that will then print the info. We were given a specific set of instructions for how many characters and lines the printed piece could hold.
    The fun part is that before this goes into production it has to first be presented several times in different presentation decks (some integrated into Powerpoint, others just PDFs). We've tried similar exercises in the past with Word and other programs with not a lot of satisfaction from our client. So, no pun intended, but Acrobat offered the most portable file format to accomplish our needs.
    Though the original code posted above doesn't exactly solve our problem it's a great start for us and gives us somethign to build off of.
    This is a simple one I think. What's the command to add text to a field? So if I wanted to add the character "\n" once the text was full. I guess that would be something like (just a note, not real code)…
    var hardreturn = \n;
    if (max == 25) {
    addText.value = hardreturn;
    (sorry a million times for my horrible programming skills)
    Thanks for everyone's input thus far. This is a great and informative discussion.
    Message was edited by: b.whitham

  • Character counter in ABAp Webdynpro

    Hi everyone,
    I have a table with an editable field.
    I'd like to have a "Character counter" over the table, which displays the remaining characters of the field.
    Example:
    The field length is 100, but there is a limit for the maximum length e.g 70. When the field is empty the counter is 70, if the user starts to type, after every character the counter is decreased, until the counter reaches 0.
    My question is:
    Is this possible? If yes then how?  I can't find "onType" event in the Table properties
    Thanks & Bye
    N.

    Hi,
    The requirement looks very interesting...But I really wonder there is such event to handle the things as the user types the characters..There is no such event  to handle this.. You need to have a button and everytime user has to click to increase/decrease the counter...check if TIMER UI element can be used in this case because to record the user inputs we can set the timer and then try to have the character count...But this is really not a solution. just try it out...
    Let Thomas provide some inputs on this.
    Regards,
    Lekha.

  • Character Counter for a Rich Text Editor

    Version  4.1.1.00.23
    Hello,
    I'm hoping that someone has a solution for a character counter/validation to use on the Rich Text Editor.
    Thanks,
    Joe

    Hi,
    Happy New Year.
    Ok.
    Well, I'm not expert on this, but this peace of code might help you get started.
    Code should go to page JavaScript -> Execute when Page Loads
    var lEditor=CKEDITOR.instances.Px_YOUR_EDITOR;
    lEditor.on('contentDom', function() {
    lEditor.document.on('keyup', function(e) {
    var len=lEditor.getData().replace(/<[^>]*>|\s/g, '').length;
      /* do here something. JavaScript valiable "len" holds editor text length e.g. */
    /* alert(len); */
    Replace Px_YOUR_EDITOR with your editor name.
    I do not have any idea does it work on all browser. I did test with Firefox.
    Regards,
    Jari

Maybe you are looking for

  • How to do this in Crystal Report

    I have table a and table b in two database. I made connections. Want to implement this kind of query in CR. How can i do this using add command?. Is it possible to type in below query in add command of one database and make it work?. table a and b ar

  • How would you read in each line of data and display them to message box?

    How would you read in each line of data from the _.txt file_ and display the whole data using an information-type message box? I know how to display each line of the .txt file data, but I do not know how to display the whole thing. Here is how I did

  • After latest update once i close session won't restart says still running

    Updated latest version, all plugins etc updated then noticed once I ended session I couldn't open firefox again. No recognisition from clicking on desktop icon, going to programme file and asking to open, right clicking to open programme would help.

  • Need help with an analytic function I think

    I have a table as such: BID, POSITIONDATE 1 3/10/2009 1 3/11/2009 1 3/12/2009 1 3/13/2009 1 3/13/2009 1 3/13/2009 1 3/14/2009 I need to select a count(*) from this table for EACH day in MARCH, but the table is missing the days of 3/1 - 3/9 I need my

  • Not clicking right

    I just updated Firefox to the newest version and I'm noticing that when using (and for short periods of time after) Firefox when I try to click on certain things it isn't responding correctly. For example, if I have something typed into my search eng