Discussion

How to truncate the character size inside Text box

Im referring an TextBox using its property(Max character limit is 15) where I fetches a value of some other Property. while fetching, the characters inside the text box displays all the characters even if it is greater than 15 with a validation.. How to truncate the first 15 characters alone inside the text box ???

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

April 13, 2012 - 9:49pm

Hi
In PRPC 6.2 On the cell of the your text box (pxTextInput control property) you can set Max chars to 15 so that it will not allow more than specified.

Please let me know if you have any issue.
Shiva

April 17, 2012 - 2:05am

Thanx Shiva. I hv tried with Substring from library and it is working fine now.

quote:


Originally posted by SHIVAKUMAR11

Hi
In PRPC 6.2 On the cell of the your text box (pxTextInput control property) you can set Max chars to 15 so that it will not allow more than specified.

Please let me know if you have any issue.
Shiva


June 9, 2016 - 5:59am

I have a requirement where in a section a field called Fee should have the user input only 100characters.

How do i do this?