Rank: Advanced Member
Joined: 6/10/2011 Posts: 37 Points: 111 Location: Belgrade
|
Hi,
I have a value in form properties for checkbox and I want to check is it true or false
I try with if(EntreeScope.FormProperties["cbSelected"]=="True") but it doesn't work.
Any suggestion,
Alex
|
 Rank: ME Staff
Joined: 1/12/2009 Posts: 279 Points: 408 Location: VA
|
I believe with a checkbox, it will only send a value if it is checked. So first you need to do FormProperties.ContainsKey, to see if it was checked. Then the value of the form property is going to be "on", at least that is what I am seeing coming back.
Since it only sends a value if it is checked, you should be able to just do the ContainsKey.
|
Rank: Advanced Member
Joined: 6/10/2011 Posts: 37 Points: 111 Location: Belgrade
|
I solve problem,
Thanks Joe!
|