Thursday, 19 February 2015

Creating a Dynamic counter on PeopleSoft Page

Generally On PeopleSoft pages we can see description boxes and comment boxes. Those are made up of Long character fields from Application Designer. In those Comment boxes we can add unlimited amount of text. At the time of saving based on the limitation given in Application designer we can truncate the text entered by us.

In the above scenario user can enter more than 1,00,000 character text for a 500 char limited description box. At the time of saving system will prompt the message to user please truncate the text to 500 characters.To avoid such issue we can place a dynamic counter on page to calculate the amount of text what user entered and after reaching the counter to 0 system wont allow user to type the text anymore.

This can't be achieved by peopletools functionality. Because no peoplecode will fire while we are working in a field. To overcome this we can use the Java scripting techniques. We can write the JavaScript and place the Java script in HTML area on the page.



Intrested in PeopleSoft Learning Please reach us on  info@OnlineIT365.com
 OnlineIT365.com.
 https://www.facebook.com/ONLINEIT365
 https://twitter.com/ONLINEIT365

No comments:

Post a Comment