Score Values in Controls
The Score control calls upon values from other controls to use as part of a calculation. You define these values either as part of another control, or in an external list or catalogue that is then referenced by a control.
Define Multi Select and Multiple Choice Score Values
-
In WebAdmin, select Forms.
-
Select an existing form, or select Add New Form to create a new one.
-
Navigate to an existing element within your form or select Insert a new Element
. -
Select Maintain Element Settings
. -
In the Update Element Details dialog:
-
Select either the Multi Select or Multiple Choice control.
-
Select the Choice field and enter a choice value that the user can select.
-
Select the Score field and enter a score value that the Score control will use as part of its calculation.
-
Select Add
. -
Repeat steps b-d to add further values.
-
Configure other control options as required. For more details refer to Form Sections and Controls.
-
Select Save.
-
-
Save
and Publish
the form. -
Ensure the form is assigned to an application or visit task within a solution.
Define Values for Controls with Lists
For the following controls, the scoring value is defined in a referenced list:
For details of creating a list with scoring values, refer to Add Items to a List.
To add a list to a control:
-
In WebAdmin, select Forms.
-
Select an existing form, or select Add New Form to create a new one.
-
Navigate to an existing element within your form or select Insert a new Element
. -
Select Maintain Element Settings
. -
In the Update Element Details dialog:
-
Select a control that uses lists.
-
Select the Source Ref field, and start typing the required list Reference. Select it when it appears.
-
Configure other control options as required. For more details refer to Form Sections and Controls.
-
Select Save.
-
-
Save
and Publish
the form. -
Ensure the form is assigned to an application or visit task within a solution.
Define Catalogue Element Control Values
The Catalogue Element control Source Ref is always set to reference a previous List control. The score value used for this element is therefore set in the list that is referenced.
For more details refer to Catalogue Element Control.
Define Catalogue User Store Control Values
The Catalogue User Store control looks at the user to see which Materials Store they are assigned to. The score values used by the Score control are defined in the Materials Store against each of the products.
For more details refer to Add a Store.
Define Numeric Control Values
The Numeric control allows the user to input any numeric value. The Score control can use this value as part of its calculation.
Score Control and Repeatable Sections
Note the following rules when using the Score control with Repeatable Sections:
-
When using a Score control within a Repeatable Section, only controls in the same shared section or one level nested below can be used in scoring expressions with functions.
-
The Catalogue controls, the Multi Select control and the Multi Select List control within a Repeatable Section can only be used by a Score control in the same shared section. If calculations are required for these control types outside of the Repeatable Section, you can define a Score control inside the Repeatable Section that can be referenced by another Score control outside the section.