Skip to main content

Date and Date Time Questions in NRDS

Adding date and date time questions along with some conditional logic

Sam avatar
Written by Sam
Updated over 2 weeks ago

1. Accessing the Template 0:00

  • Open the existing template where you want to add date or date-time questions.

  • Familiarize yourself with the template layout.

2. Adding a Date/Date-Time Question 0:13

  • Select the option to add a new question.

  • Choose the type as 'date' or 'date-time'.

3. Setting Default Values 0:24

  • In the question settings, set the default value to 'now'.

  • This will automatically populate the question with the current date/time when a new record is opened.

4. Implementing Conditional Logic 0:39

  • Identify another question (e.g., 'status') that will control the visibility of your date question.

  • Set the condition so that the date question (e.g., 'end date') only appears if the answer to the 'status' question is 'deactivated'.

5. Adding Validation Rules 1:20

  • Specify minimum and maximum date values for the date question.

  • Ensure that the end date must be after or equal to the start date.

6. Testing the Conditional Logic and Validation 2:04

  • Change the status to 'deactivated' to check if the end date question appears.

  • Attempt to save the record with an invalid end date (before the start date) to confirm that an error is thrown.

Did this answer your question?