Add Multiple Choice with Radio Buttons
This action will add a Multiple Choice with Radio Buttons to the specified dynamic container.
Parameter Reference
Parameter | Description | Supports Tokens | Default |
---|---|---|---|
Container Id | This is the Container Id to place this Multiple Choice with Radio Buttons into. Eg. Add a Dynamic Field Container having id DynamicFieldContainer. "DynamicFieldContainer" is the ID of the field. Supports Tokens. | No | None |
Field Id | Required. Give this field an id so you can reference it later. Supports Tokens. | No | None |
Field Title | Give this field an title/name which is a label. Supports Tokens. | No | None |
Field Description | Give this field a description. Supports Tokens. | No | None |
Initial Value | Give this field an initial value. Supports Tokens. | No | None |
Display Horizontally | Turn on this option to display radioboxes next to one another on the same line. Use 1/0 or true/false . Supports Tokens. | No | None |
Radio Buttons | Turn on this option to display radioboxes next to one another on the same line. Use 1/0 or true/false . Supports Tokens. | No | None |
Radio Buttons CSS Classes | Beautifies the radio buttons using Bootstrap classes. It supports Bootstrap brand button classes (eg: btn-default, btn-primary, btn-success, btn-info , btn-warning, btn-danger, btn-link). Available only if "Radio Buttons" evaluates to true. Supports Tokens. | No | btn-default |
Radio Buttons styles | Stylizes the radio buttons using CSS. It supports multiple css attributes separated by semicolon (eg: border:2px groove; border-radius:25px; color:#e42f43; font-family:Georgia). Available only if "Radio Buttons" evaluates to true. Supports Tokens. | No | None |
Word between buttons | Displays a text between the radio buttons. Available only if "Radio Buttons" evaluates to true. Supports Tokens. | No | or |
Word styles | Stylizes the word beetween buttons using CSS. It supports multiple CSS attributes separated by semicolon (eg: color:#e42f43; font-family:Georgia). Accepts the font-size only in px. Available only if "Radio Buttons" evaluates to true. Supports Tokens. | No | None |
Link To | Link this to another multi-select field that when changed will cause this control to update with different items. For example, imagine Category and Subcategory selection. When this option is used, prefix each item below with the name of the parent category like this: "Value Of Parent Item/This Item"Also, you can input more field IDs separated by comma in order to link this to multiple multi-select fields.Supports Tokens. | No | None |
Data Source | Required. Choose from existing data sources to bring items from | No | None |
Tokenize Datasource Parameters | Tokenize the parameters of the datasource when generating the field. (Otherwise the tokenization happens when the initialization process ends.) If you are generating fields using tokens from an Execute Actions on Entity list the token replacement will happen after all initialization actions so tokens used in datasource parameters (eg. SQL Query with a query containing tokens from current context) might not be replaced correctly. | No | True |
Bind Expression - Show | Dynamically show or hide this field. This must be a boolean expression. Use standard javascript boolean operators (==, !=, <,> , !). For example, use [PaymentMethod] == 'CreditCard' to show the credit card field only when the Payment Method is set accordingly. Supports Tokens. | No | None |
Preserve Layout? | Check this box in order to make sure hiding/showing fields will not affect the layout of the form. | No | None |
Bind Expression - Value | Dynamically compute the value of this field. So when other fields change this fields updates automatically. Use standard javascript operators where needed (+, -, *, /). For example, use [FirstName] ' ' [LastName] to automatically fill the Display Name field. Note that once the value is edited manually, the automatic synchronization stops. Supports Tokens. | No | None |
Bind Expression - On Change/Click | Bind some javascript code to execute when the value in this field changes or when a button is clicked. Access the form fields by using syntax [FieldId] which maps to the js object form.fields.FieldId.value. For buttons, you can "return false;" to prevent the form from submitting. Supports Tokens. | No | None |
Tokenize Bind Expressions? | Check this box in order to tokenize the Bind Expressions fields. This is useful when you dynamically compute the id values so you need to tokenize and obtain the real IDs first. | No | None |
CSS Class | Set CSS classes on the input control. This is appended to the container's UI settings! Supports Tokens. | No | None |
CSS Styles | Set inline styles on the input control. This is appended to the container's UI settings! Supports Tokens. | No | None |
Label CSS Class | Set CSS classes on the input label. This is appended to the container's UI settings! Supports Tokens. | No | None |
Label CSS Styles | Set inline styles on the input label. This is appended to the container's UI settings! Supports Tokens. | No | None |
Is Required | Specify if this field is required. Supports Tokens. | No | None |
Validation Condition | This boolean expression is used to determine if this field validation will execute. It supports C# syntax. A common example is [SomeField] == "Some Value" or [SomeField].IndexOf("something") == 0. This field supports Tokens. Note that the tokenization will take place when you submit the form and you have access to the values of the submitted fields. | No | None |
Custom Validator #1 | No | None | |
Custom Validator #2 | No | None | |
Tokenize Validators? | Check this box in order to tokenize the Validator fields and the Validation Condition field. This is useful when you need to use tokens for validation at Form Initialization. | No | True |
Field ID Token Name | Similarly to normal fields, the ID is the name/inputted id sanitized. This means that if you dynamically generate id's, they might contain spaces or other invalid characters. For this, we output the sanitized id of the field. Give a name to this token which holds the sanitized ID. | No | None |