Home Forum Blog Market Events Resources
Showing results for 
Search instead for 
Do you mean 
Occasional Contributor
Posts: 16
Registered: ‎09-10-2012

SmartForms Checkbox Value

[ Edited ]

I'm trying to configure rules for a checkbox but can't get it to fire base on the value.  Does the checkbox give a value of "Yes" and "No" based on if it is checked or unchecked instead of "True"/"False" or "1"/"0"?  I couldn't find any documentation on this issue.

Occasional Contributor
Posts: 19
Registered: ‎03-25-2010

Re: SmartForms Checkbox Value

[ Edited ]

Hi Adisa

Please note that we're currently aware of an issue regarding configuring a simple Condition (such as: "A control contains a value") against a [Checkbox] control.

As a workaround, please create an "Advanced Condition" against the control. Using the "Advanced Condition" to validate the control, you should be able to validate the control against the following values (and all capitalization thereof):

a) Yes/No

b) True/False

c) 1/0

Contributor
Posts: 63
Registered: ‎02-06-2012

Re: SmartForms Checkbox Value

[ Edited ]

Also, as an FIY…

What check box returns seems to be dependent on the smart object. When the checkbox is bound to MS SQL binary field it returns 0/1. When the smart object is a SharePoint list it returns true/false.

 

Occasional Contributor
Posts: 16
Registered: ‎09-10-2012

Re: SmartForms Checkbox Value

[ Edited ]

That's odd, my smartobject is running off the builtin service for SQL Server.  I tried using "1" and it didn't work but it did work for "True" for checked box.

Occasional Contributor
Posts: 16
Registered: ‎09-10-2012

Re: SmartForms Checkbox Value

[ Edited ]

The confusing thing is the drop down for the checkbox "Data Type" only has one option for "YesNo".