Create an age question

Create an age question to insert a Date of Birth question and a read-only calculated age field.

Want to see how to perform this task? Watch the video below.

You must first create a form. For step-by-step instructions on how to create various types of forms, see Forms.

To use this question in a stratum group, demography cohort group, or calculated dose, you must create a Range validation rule for which Include Value in Range is selected. You determine the questions that are used in stratum groups when you create a randomization design.

Note:

Although the Allow a Future Date toggle is hidden for age questions, the setting is set to Off by default. You can enter and save a future date of birth, however, the system prompts you with a validation error message.

To create an age question:

  1. On the form, click Add Question, and select Age.

    Tip:

    If you need to change the question type, select an option from the drop-down on the question.
  2. On the right, expand the Details pane and enter a reference code for the question.
    A reference code is a one-word abbreviation for the question.
  3. In the Question Hint field, provide site users with guidelines for data entry, if necessary.
    For more information, see Create Question Hint text.
  4. If screening, randomization, and dispensation can't happen until a site user enters a valid answer for the question, or if the question is required to be completed for all subjects, make sure the Required toggle (A toggle is turned on and colored blue by default) is turned on.
  5. 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.
  6. To configure data classifications for a hidden question, see Classify a hidden question.
  7. To configure source data verification settings at a question level, see Configure source data verification settings.
  8. On the Unit drop-down, select a type of unit for the age, typically Years.
  9. Expand the Advanced sidebar and make sure the SAS properties are correctly defined for both the SAS Variable and SAS Label fields.
  10. To create a validation rule, see Set up a validation rule for a question.
  11. 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.