Forum Discussion

ThilagamSakkara's avatar
ThilagamSakkara
Community Member
2 years ago

Activate a button when NumericEntry reaches specific length

In my slide I do have a Numeric Entry and a button next to it with the status 'disabled'. How to enable a button when number of characters in Numeric Entry reaches a length of 9 digits in it.  How to get this done?

  • Thilagam,

    Depending on what type of number you are working with, here is something that might work.

    Create a trigger that changes the button's state to Normal when the Numeric changes if the NumericEntity (or whatever you named the variable) is greater than or equal to a value of 99999999. 

    Richard

     

     

  • Thank you so much Richard. But do we have any option to change the default  NumericEntry object trigger which sets the NumericEntry equal to the typed value When NumericEntry loses focus. Because of this default trigger I have to click outside to make the button enable as NumericEntry taking the value when it loses focus. Can we enable the button when the focus is in NumericEntry?