Question
Pegasystems Inc.
IN
Last activity: 19 Sep 2016 9:10 EDT
To show Characters remaining in text box
I am having a requirement where to show the number of remaining characters in a text box.
Suppose maximum size of text box is 100 characters, while typing each character it needs to show number of remaining characters.
(like: 98 characters remaining). How to do it in pega?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
Follow the below steps for this :-
In the presentation tab of text area
1)Set Max Characters as per your need.
2)Then check 'Display character counter' radio button to true.
Ai4Process
GB
I have no clue on how to do this ony with OOTB controls.
You will probably need to create your own Text Input control with the correct JS event to refresh your counter.
Damien
Updated: 28 Mar 2016 5:32 EDT
Goldman Sachs
IN
In the skin, open the "Text inputs and formatted text".
Jusr check the first checkbox."Same formatting for Field, Error, Remaining Counter, and Read-Only Text".
Damien, this is a OOTB feature.
Thanks,
Sourav
Ai4Process
GB
Hi,
From the skin you can open the rule and find out how you can display the reminder characters, ok.
Now I know this is a check box in the appearance tab for the text area control.
Ticking the box or not in the skin will not help making the counter appearing or not.
Damien
Capgemini
IN
Hi,
I have a similar requirement too. Please let me know in case you get it done using OOTB Controls.
Updated: 8 Apr 2016 8:42 EDT
Ai4Process
GB
As I said
this is a check box in the appearance tab for the text area control.
Damien
Accepted Solution
Pegasystems Inc.
IN
Follow the below steps for this :-
In the presentation tab of text area
1)Set Max Characters as per your need.
2)Then check 'Display character counter' radio button to true.
-
Sam mk
TSPi
US
Thanks Praveen.. It helped me :)