Create a label (repeating table only)

Label items allow you to add predefined read-only values to a repeating form and better control the data that is collected. Label items are read-only and can't be edited by the site user.

You cannot configure any kind of rule (validation, dynamic, or custom JavaScript) for a label item, nor can you add any advanced properties to it, such as coding or rollover properties.

You must first create a repeating form. For step-by-step instructions, see Create a repeating form.

To create a label item:

  1. Make sure the Repeating Form toggle (A toggle is turned on and colored blue by default)is turned on.
  2. For the first question created by default, above the answer field, click the question drop-down, and select Label (Repeating table only).
  3. To let site users add more rows to the repeating form, turn on the Allow Additional Rows toggle (A toggle is turned on and colored blue by default).
    By default, the toggle is turned off. You can only turn this toggle on and off if a label item is added to a repeating form.
  4. Enter the label for the label item.
    In a repeating form, this is the column header.
  5. Depending on how you want to define your label types, you have multiple options:
    • To add a code list with labels, click Code list. For step-by-step instructions, see Add a code list to a question.
    • To manually add labels, click Add Label for each label type.
    • To have one single label, click the delete icon (Delete icon) next to each label type to remove them, whether they are manually defined or part of a code list.
    In a repeating form, label types are the read-only rows that a site user cannot edit, but that they can use to understand how to fill-in the rest of the repeating form fields.
  6. To add another label, click Add Question, and select Label (Repeating table only).
  7. On the right, expand the Details pane and enter a reference code for the form.
    A reference code is a one-word abbreviation for the form.
  8. In the Question Hint field, provide site users with guidelines for data entry, if necessary.
    For more information, see Create Question Hint text.
  9. If you want to hide a question, so site users no longer see it, turn on the Hidden toggle (A toggle is turned on and colored blue by default).

    Note:

    A hidden question or item can also be required in a form, so the Required toggle remains switched on. However, we recommend you switch off the Required toggle when hiding a question from a site user, so the visit status is not dependent on the completion of the question. For example, a coding question that can be populated by a coding application, if hidden, is not populated until the coding scheduled job is run.
  10. To configure data classifications for a hidden question, see Classify a hidden question.
  11. Expand the Advanced pane and make sure the SAS properties are correctly defined for both the SAS Variable and SAS Label fields.
  12. To save the form, in the lower right of the form, click Save.

    Tip:

    If the Save button is disabled, make sure there are no blank questions on the form.