Warning |
---|
This page is still under construction. |
- Click On the Build page, click on Constructs.
- Decide on the position or of where to situate the condition. Click Add New + at the correct Parent level. It can either be at the level of a previously created Sequence, Condition or Condition.A Construct Type option box will appear. Click Condition to add a condition Loop.
- If the new condition is within a sequence or loop, click the black + sign in the grey square, at the correct parental level.
- If the new condition is within a condition, then click the Add New black + at the level of first condition. You need to place it sign in the grey square, either in the ‘True’ branch or in the ‘False’ branch as indicated below on the relevant grey light blue bar across under the pagecondition.
- Three fields open on the right-hand side: a Label, a Literal and a Logic field.
- In the Label field give the condition a Name. This should be in the format c_[questionref]. Refer to the labelling guide for naming conditionsAlternatively, click on the nearest black + sign in the grey square and then once created, move the condition to the correct position through click and drag.
- A Construct Type option box will appear. Click Condition to add a condition.
- Add a label for your question in the Label field. See Construct a Label for more details.
- In the Literal field add the text of the condition. This should be the text exactly as it appears in the questionnaire. See Archivist Elements section for further guidance on adding condition text.
- In the Logic field the The condition should be documented using the standard set of condition logic used in CLOSER. the Logic field. See the Archivist Elements section for further guidance on using condition logic. The condition logic resides in square brackets following the condition text. This allows it to be extracted for programmatic use later. You do not need to add the square brackets in the Logic field as they will be applied automatically.Click Save to save your new Condition. condition logic for further details.
- Click Submit to save your new condition. Once it appears on the page, you can drag and drop it to other places in the questionnaire if needed.
- Repeat as required.
- You can view your new condition in the View screen. Select the prefix of your questionnaire in the breadcrumb at the top of the page. This is useful for reviewing the entry.
- Return to the Build page by clicking on the menu button near the top of the page screen by selecting the option from the breadcrumb.
- To delete a construct you will need to click on the label and select Delete from the options provided on the right hand side of the page. You may need to refresh the page for the construct to disappear.