Skip to Content
0
Former Member
Jun 03, 2008 at 06:46 PM

Guard conditions or making a button disable.

27 Views

Hello,

I am using Visual Composer in SP3 but it seems the guard condition is not working properly. I put an expression testing whether an attribute is null, however, the guard condition appeared to be ingnoring this condition whatever value has been coming. So I simply set false in guard condition in order to avoid the hit but the action is still being called. Is it a kind of bug?

My other approach to avoid the click of this button would be express a condition to the "Enable" property. However I could not figure how to edit a dynamic expression verifying if the table viewer has some row selected (the use case that motivates this thread) in order to either disable or enable it.

So it seems my two alternatives avoiding the click of button are not available. In the former looks like a bug of VC and the last looks a lack of functionality in tool. Am I missing something?

Best Regards,

Felipe.

ps: I wish show a screenshot to ilustrate my model but it seems SDN forum doesn't have such functionality. In case someone has a solution to this please reply it to me 😊