Question
Commonwealth Bank
AU
Last activity: 6 Nov 2017 22:33 EST
Length of text control should not increase when I am giving long text
my requirement is like in text box I am entering address of many line
"length of text box should not increase instead of this text I am typed above should hide above (go above ) length of text box should be same"
in read only mode also it should display only one line if place mouse it may show full
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
Hello Anand,
Refer the attached document wherein I tried it meets similar to your business requirement. Please note it does not meet the exact requirement.
While entering text, to hide the characters after maximum count has reached is not appropriate from User interaction perspective. Hence, I have enabled scrollbar. In readonly mode for the field, I have used pzEllipsis control that displays the entire text on mouse hover.
PS: I tested in Pega 7.3.
Regards,
Rincy
Pegasystems Inc.
US
Hi Anand,
Which Pega version your application is on?
Are you using Text Area (pxTextArea) control in your section?
Can you upload a screenshot and detailed use case which will help us to know more about your requirement?
Thanks,
Susan
Commonwealth Bank
AU
Hi Susan
ya I am using pega 7.2 and not only I need text field control it may any control or I can create my own control for below req.
(requirement is the height of the control(text field) should be fixed. And, if the text entered above the max length(say 20), then text entered post 20 characters must be hidden. And, in read only mode, the full text should be shown only on mouse hover. Is my understanding correct?)
Pegasystems Inc.
IN
Hello Anand,
Thanks for posting your query in PSC :)
I understand that your requirement is the height of the control(text field) should be fixed. And, if the text entered above the max length(say 20), then text entered post 20 characters must be hidden. And, in read only mode, the full text should be shown only on mouse hover. Is my understanding correct?
How about using the TextArea control's collapsible/expandible feature? Refer the third and fourth TextArea field from the UI Gallery sample for TextArea. However, this feature is available for height as 'Size to Content'.
Regards,
Rincy
Commonwealth Bank
AU
Thanks,
Let me try
-
Ashwani Mishra
Commonwealth Bank
AU
HI Rincy,
Above methods are not working
can you provide any code for creating separate control for that mean will helpful
thanks
Accepted Solution
Pegasystems Inc.
IN
Hello Anand,
Refer the attached document wherein I tried it meets similar to your business requirement. Please note it does not meet the exact requirement.
While entering text, to hide the characters after maximum count has reached is not appropriate from User interaction perspective. Hence, I have enabled scrollbar. In readonly mode for the field, I have used pzEllipsis control that displays the entire text on mouse hover.
PS: I tested in Pega 7.3.
Regards,
Rincy