cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling/Disabling a button dynamically in VC

Former Member
0 Kudos

Hi Guys,

              I have a requirement to Enable/Disable a button depends some conditions dynamically.

How this can be done..?

Thanks

Sam

Accepted Solutions (1)

Accepted Solutions (1)

former_member202465
Contributor
0 Kudos

Hi Sam,

There is also a built in mechanism of input validation - see example here.

Here is a short example - we enable the button only if Bank Country has value.

Application loads with no value:

The application after the value entered:

Modeling steps:

1. Add a Data Share to the model.

2. Define a boolean field in it.

3. Define an Assign Action on the Bank Country control to change the Boolean field.

4. Define the Enabled property on the Button to use the Boolean field:

Thanks,

Udi

Answers (0)