Input Mask: Enabled with local variable boolean

Hi,

I want to make input mask enabled with local variable.

Like example:

if i click Button True, the local variable become true and value of enabled on input mask must be true  

and

if i click Button False, the local variable become False and value of enabled on input mask must be False


But nothing happen, value local variable already changed and i already use force update


anyone can help??? 

Solution

Christo Vetter wrote:

Hi,

I want to make input mask enabled with local variable.

Like example:

if i click Button True, the local variable become true and value of enabled on input mask must be true  

and

if i click Button False, the local variable become False and value of enabled on input mask must be False


But nothing happen, value local variable already changed and i already use force update


anyone can help??? 

Hi Christo Vetter.,

         Add a Local Variable to that screen and make false as a default value, assign that local variable to the enabled property of the input field. In the action, add the assign statement to the local variable as true.

         You can also achieve this by using javascript to the screen.

Solution