Forum Discussion

BamaGirl's avatar
BamaGirl
New Contributor II
5 months ago
Solved

Dashboard component/business rule

Is it possible to do a live character count using a text box and label component inside of a business rule that counts characters as they are being typed into a text box component that is used in a d...
  • RobbSalzmann's avatar
    5 months ago

    AFAIK not possible.  OneStream is proprietary UI components that lack the discreet event handling needed for your requirement.  You would have to make a user initiated button click round trip to a business rule for each character to accomplish this.

    Instead consider placing a label near the textbox informing the user of the character limit.  If exceeded on save, send back a message through the XFSelectionChangedTaskResult object in your Dashboard Extender code that handles this event.