Paste the following function code at the page level (Function and Global Variable Declaration), or create a region in the Global Page using the Blank template. In that region, select Source and paste the function code enclosed within <script></script> tags. function setPostTextCounter (itemId) { var item = apex.item(itemId); var inputEl = item.element; var maxLen = inputEl.attr("maxlength") || 100; var curLen = item.getValue().length; var counterId = itemId + "_counter"; var postText = inputEl.siblings(".t-Form-itemText--post"); if (postText.length === 0) { postText = $('<span class="t-Form-itemText t-Form-itemText--post"></span>'); inputEl.after(postText); } if (postText.find("#" + counterId).length === 0) { postText.append('...
A knowledge hub for Oracle APEX developers — sharing practical tips, PL/SQL code snippets, and hands-on techniques to make APEX development smarter and faster.