Changes

Jump to: navigation, search

Custom Field Type: Special - Question Set Builder

1,289 bytes added, 21:17, 15 March 2022
m
Set Up
The question set should now be visible to any level two under the level one.<br />
[[Image: QuestionSet.png|border]]
 
===Setting up Question Set Scoring===
Question sets can also have scoring enabled. Follow these steps to get started:
 
# Create a Level 1 custom field of type '''Special - Question Set Builder'''
# Ensure you have toggled on '''Enable Scoring''' in the configuration settings for the above custom field
# Set up the questions you would like to ask. Use the '''Correct Answer''' and '''Score''' attributes to indicate the correct test answer as well as assign a specific score for each question.
# Create a new Level 2 custom field of type '''Special - Scoring Results'''. Ensure the '''Field Name''' for this new custom field does not contain any spaces as it will need to be referenced later.
# Navigate to '''UTA Settings''' > '''Level 2''' tab > '''Features and Options''' section >''' Formula'''. Inside the '''Formula''' field, enter the following logic: <code>@level2.mycustomfield@="@evaluate_score()@";</code> where "mycustomfield" is the '''Field Name''' you assigned to the '''Special - Scoring Results''' custom field.
# To test your fields are working properly, save a Level 2 record with some of the test questions filled out. You will see the score and answers listed as below.
 
 
[[File:2022-03-ticket-130455.png|thumb|none|800px|A new custom field to display test scores]]
[[Category:Custom Fields]]
[[Category:Custom Field Types]]
Smartstaff
2,091
edits

Navigation menu