cancel
Showing results for 
Search instead for 
Did you mean: 

Check a checkbox with condition

Former Member
0 Kudos

Hi expert,

I'am new in visual compser, I'am triying to check a checkbox folowing a condition. If the condition is satified, so check the chekbox.

Any idea ?

Cordialy

Accepted Solutions (0)

Answers (1)

Answers (1)

Vasilis
Advisor
Advisor
0 Kudos

Hi,

select the checkbox, go to configuration and for "Value" define an expression e.q

=IF(@myname=='Vasilis', true, false)

On the above example if the condition is met, the checkbox gets the value true which means checked.

Regards,

Vasilis

Former Member
0 Kudos

Hi,

Please be aware that in 731SP14 there is an issue in webdynpro runtime and also in VC5 that this thing is not working. We are aware of the issue and working on that.

What you can do as a workaround if it does not work, is to create an action from the text field/button/plain text or any other control that determines the checkbox status. This action will set value of true or false to the checkbox accroding to your condition- that depends on the value of the textfield /plain text etc..

Regards,

Asaf.