Create a date/time question

Create a date/time question when a subject's answer to a question includes times or date values, or both.

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 create a date/time question:

  1. On the form, select Add, and select Date/Time.

    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. Perform one of the following:
    • If working in a repeating or two-section form and visit completion 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 for Visit Completion toggle A toggle is turned on and colored blue by default is turned on.
    • If one or more Randomization and Trial Supply Management (RTSM) actions can't happen until a site user enters a valid answer for the question, Specify Randomization and Trial Supply Management (RTSM) actions that require complete answers.
  5. If you want to allow for a future date to be entered, turn on the Allow Future Date toggle A toggle is turned on and colored blue.

    Note:

    • This setting it set to On by default.
    • When this setting is configured to Off, a future date entered is accepted but results in a query raised on the question.
    • This control is not available for time-only questions.
  6. 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, if working in a repeating, two-section, or flat form. 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.
  7. To configure data classifications for a hidden question, see Define data classifications for a hidden question.
  8. To configure source data verification settings at a question level, see Configure source data verification settings for a question.
  9. Select the Type of date/time data you want to collect:
    • Date & Time: Collect the complete date and time.
    • Date Only: Collect date components only.
    • Time Only: Collect time components only.
  10. Select the Format for the Type selected.
  11. To collect partial dates and/or times, enable Partial Date Allowed. For example, you can collect just Hours and Minutes when a Time Only type is selected, or just Year, Month, Day, Hours when the Date & Time type is selected.
  12. Expand the Advanced sidebar and make sure the SAS properties are correctly defined for both the SAS Variable and SAS Label fields.
  13. To add a validation rule, see Available validation rules by question type.
  14. To save the form, in the lower right of the form, select Save.
    If the Save button is disabled, make sure there are no blank questions on the form.