cancel
Showing results for 
Search instead for 
Did you mean: 

Count Characters in TextEdit

Former Member
0 Kudos

Hi all,

I am working on an app that involves users entering a certain amount of text into a TextEdit element. I am looking to have a counter to display how many characters have been entered as the user types. I have been able to successfully accomplish this using JavaScript in a DynPage, but I am looking to develop the app in Web Dynpro.

Does anyone know of a way in Web Dynpro to count the number of characters in a TextEdit as the user is typing?

or

A way to embedded the JavaScript to update a text view and then call it everything a key is pressed for the TextEdit.

Thanks,

Jonathan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

There is no event for a TextEdit.Hence I guess we can't do this.

Regards,

Ajay

Answers (1)

Answers (1)

Former Member
0 Kudos

What is the benefit of a such a feature? You could at least create a DDIC type with maximum length and bind the TextEdit to an attribute of this type.

Armin

Former Member
0 Kudos

The DDIC type maximum length works good with inputfield. But it does not work well with textedit. anybody knows how to fix it?

Check this

Message was edited by: Anand Bhambure