Skip to main content
Nintex Community Menu Bar

Change the label of CheckBox Field to Yes/No from True/False

  • June 4, 2014
  • 5 replies
  • 189 views

Forum|alt.badge.img+2

Trying to change the label of a CheckBox field in a list view.  But it does not let me select the field from my smartobject in the expression builder to do so.  Any help?

5 replies

Forum|alt.badge.img+4

Hi AtrionMRaucci,


 


Can you upload a few screen shots for me please showing what you are trying to accomplish and how your expression is configured currently please?


 


Also what version of K2 Smartforms are you using currently?


 


Thank you 


 


Regards


Quintin


Forum|alt.badge.img+4
  • Rookie
  • January 30, 2015

At least for a non-editable list view, you can do the following:

 

  1. Drop a data label control on the column.
  2. Assign a new expression to the control
  3. Create the expression as If(<Select Yes/No Field From SmartObject>, Yes, No)

Forum|alt.badge.img+7
  • February 3, 2015

Have you tried using a Transfer Data Action instead? As per this article: http://help.k2.com/onlinehelp/k2smartforms/userguide/current/default.htm#sf_-_viewcontrols_-_check_box.html

 

it notes that 

  • The logical if condition can be used to populate the Check Box according to a given condition.
  • Using the Transfer Data action, a Check Box control can be populated using Yes/No, True/False or 0/1. 

Forum|alt.badge.img+4
  • Rookie
  • February 3, 2015

This would only apply to item view, not a list view. And for the item view if your source field is of type Yes/No (e.g. SQL bit type), then this is not necessary.


Forum|alt.badge.img+4
  • Rookie
  • December 14, 2019

The expression tactic works - but not if the field is of a referenced object.