Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Characters being ignored when typing in a text field

I am having an issue with characters being ignored when typing in a rich text field. This only seems to be an issue in IE8 and IE9. For example I have typed "the quick brown fox jumps over the lazy dog" four times and this is what is displayed in the rich text field.

the quick brown fx jump over the lazy dog
the quckbrown f umps over the azy dog
the quick rown fox jumps over the azy dog
the quck brown fox jumps ove the lazydog

I first assumed there may be some javascript running in the background attached to the keypress event (perhaps for spellcheck) which wasn't completing in time for the next keypress but have had no luck tracking it down. I have tried on multiple computers and all have this issue.

like image 895
Kevin Brydon Avatar asked Nov 01 '12 11:11

Kevin Brydon


People also ask

Why does Type number accept e characters?

The E stands for the exponent, and it is used to shorten long numbers. Since the input is a math input and exponents are in math to shorten great numbers, so that's why there is an E.

How do I make a text field only accept numbers?

You can use the <input> tag with attribute type='number'. This input field allows only numerical values. You can also specify the minimum value and maximum value that should be accepted by this field. Save this answer.

How do I limit the number of characters in an input field in HTML?

The HTML <input> tag is used to get user input in HTML. To give a limit to the input field, use the min and max attributes, which is to specify a maximum and minimum value for an input field respectively. To limit the number of characters, use the maxlength attribute.

Why Maxlength is not working in HTML?

If your input is of type "number", the max length will not work. You can use javascript to try to limit, or you can use a Text Input instead, attached to a number variable, if you do not need the spin buttons.


1 Answers

We noticed this weird problem with some of our users on Tridion SP1 in RTF fields. I do not recollect that we had issue with Normal TextFields.

Check this Hotfix if it helps : CM_2011.1.0.77763

https://www.sdltridionworld.com/downloads/hotfixes/SDL_Tridion_2011_SP1/index.aspx (login to SDL Tridion World and go to Hotfixes to download this hotfix).

like image 133
Ram G Avatar answered Sep 21 '22 10:09

Ram G