Appendix: Parameter Attributes
Adding a Parameter attribute to questions of certain types lets you change some aspect of that question's behaviour. Parameter Expression attributes behave similarly to regular parameters, but instead of being static, its Value comes from the result of the corresponding expression.
When creating an attribute of this type, you'll need to give it a Parameter Name to determine the parameter's purpose. You'll then provide the parameter with a single Value, which is what determines how exactly the aspect should change.
The following table contains a partial list of parameters that can be used to change the behaviour of Free Text and Email Address questions, along with the values each parameter will accept:
Parameter Name | Description | Permitted Values |
---|---|---|
AllowCopy | Controls whether a user can copy text from the question field. | False, True |
AllowCut | Controls whether a user can cut text from the question field. | False, True |
AllowDrop | Controls whether a user can drag-and-drop text into the question field. | False, True |
AllowPaste | Controls whether a user can paste text into the question field. | False, True |
MaskPassword | Applies masking to the question field, replacing each character of its contents with an asterisk. This is typically used to mask password fields. | False, True |
Certain features of KnowledgeKube combine several parameters to deliver advanced functionality. You can find more information about these features by referring to the following topics:
Feature | Effects of Parameters | Further Reading |
---|---|---|
Client-side Validation | Applies client-side validation to a Free Text question, or changes the validation criteria of an Email Address question. | Applying Client-side Validation |
Data Source Grids | When paired with a Cause Button Validation attribute, a parameter can determine whether specific Action Link columns are subject to standard form validation. | |
File Uploader | Determines certain core behaviours of the control, including the permitted types and size of uploaded files, and whether a postback should occur on submission. | Changing the Behaviour of a File Uploader |
Radio Button Groups | Changes the layout of buttons in a single radio button group. | Changing the Layout of a Radio Button Group |