Yes/No control

Allows users to select or clear a check box to show that an item has been selected.

Note: This control is supported in Nintex Mobile, except for noted fields.

Control settings

Following are the fields and options visible in the control settings dialog box for this form control.

Note: CSS formatting controls are available in the classic forms designer only. To style responsive forms, configure theme settings in the Properties pane.

Section Field Description Nintex Mobile

General

Name

Assign a name to the control. The name is used for comparison validation and other control references. 

Yes

 

Title (R)

Text to display above the field on the published form. Acts as a label for the control.

Yes

 

Description (R)

Helper text to display under the field on the published form.

Yes

 

Connected to

The field to bind the input control to.

Yes

 

Text

The text to display next to the check box.

Yes

 

Default value source

(Displayed when the control is connected to a field.) Specify a source for the default value of the control. Select one of the following options.

  • Use connected field's default value (default)
  • Specify default value

Yes

  Default value

Set a default value for the control. This value is used if no default value is specified for the connected field (Connected to). Select one of the following options.

  • Yes
  • No
  • Expression: Evaluate an expression (formula) constructed from reference tokens and functions for a Yes/No value. The expression must resolve to a Yes/No value at runtime to be valid. If the expression does not resolve to a Yes/No value it will revert to the default.

Yes

Appearance

Visible

Hide or show the control at runtime. Select one of the following options.

  • Yes
  • No
  • Expression: Evaluate an expression (formula) constructed from reference tokens and functions for a Yes/No value. The expression must resolve to a Yes/No value at runtime to be valid. If the expression does not resolve to a Yes/No value it will revert to the default.

Yes

 

Enabled

Enable the control to receive user input at run time. Select one of the following options.

  • Yes
  • No
  • Expression: Evaluate an expression (formula) constructed from reference tokens and functions for a Yes/No value. The expression must resolve to a Yes/No value at runtime to be valid. If the expression does not resolve to a Yes/No value it will revert to the default.

Yes

Formatting (C)

Control CSS class

The CSS class to apply to the inner elements of the control.

No

 

CSS class

The CSS class to apply to the control.

Use this setting to apply advanced styling options using custom CSS classes defined in the form settings.

No

 

Border

Specify borders to display. Select zero or more of the following options.

  • Top
  • Bottom
  • Left
  • Right

No

 

Border Style

Specify the style of the border line. Select one of the following options.

  • Default
  • None
  • Dotted
  • Dashed
  • Solid
  • Double
  • Groove
  • Ridge
  • Inset
  • Outset

No

 

Border Width (Pixels)

The width of the line in pixels.

To hide the border, enter zero ("0").

No

 

Border Color

The color of the line.

No

 

Padding Width (Pixels)

The width of the padding between the edge of the control and the content of the control.

No

Validation

Required to be checked

Specify whether or not validation of correct form completion is required on submission. Select one of the following options.

  • Yes
    • Required error message: The error message to display when the required field is not specified.

  • No
  • Expression: Evaluate an expression (formula) constructed from reference tokens and functions for a Yes/No value. The expression must resolve to a Yes/No value at runtime to be valid. If the expression does not resolve to a Yes/No value it will revert to the default.

    • Required error message: The error message to display when the required field is not specified.

Yes

 

Use custom validation (C)

JavaScript function for the control validation.

  • Yes
    • Custom validation function: Specify the JavaScript function name for the client-side custom validation.

      Note: The JavaScript function is to be specified in the Custom JavaScript section within the form settings.

    • Custom error message: The error message to display when an invalid value is entered.

  • No

Custom JavaScript is available in the classic forms designer only.

No

Advanced

Help text

Text to display as a tooltip to guide the completion of the form.

No

 

Control Mode

Select one of the following options.

  • Auto
  • Edit: Force control be in edit mode.
  • Display: Force control to be in display mode.

No

 

Store Client ID in JavaScript variable (C)

Specify whether or not to store the client ID in a JavaScript variable. Select one of the following options.

  • Yes: A JavaScript variable is created to reference the client ID of this control.
    • Client ID JavaScript variable name: The name of the variable to store the client ID in.

  • No

Custom JavaScript is available in the classic forms designer only.

No

 

Resize at runtime (C)

Dynamically adjust size and adjust the form length and position of other controls accordingly. Select one of the following options.

  • Yes
  • No
  • Expression: Evaluate an expression (formula) constructed from reference tokens and functions for a Yes/No value. The expression must resolve to a Yes/No value at runtime to be valid. If the expression does not resolve to a Yes/No value it will revert to the default.

No

(R): Available with the responsive designer only.

(C): Available with the classic designer only.