Skip to content

Commit

Permalink
Merge pull request #378 from kobotoolbox/datetime_question_edit
Browse files Browse the repository at this point in the history
Datetime question edit
  • Loading branch information
JessRoberts-Kobo authored Oct 29, 2024
2 parents ad63ec5 + 3993133 commit 002ddc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/date_time.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ Adding “Date”, “Time”, and “Date and Time” questions is simple:
### Setting up in XLSForm

To add "Date", "Time", and "Date and Time" questions in the XLSForm, use the
`date`, `time` and `dateTime` question types as shown in the example below:
`date`, `time` and `datetime` question types as shown in the example below:

In XLSForm, you can set up the following:

| type | name | label |
| :------- | :-------- | :-------------------------------------------- |
| date | dob | On what date were you born? |
| time | time | At what time do you you leave for work? |
| dateTime | date_time | At what date and time did the training start? |
| datetime | date_time | At what date and time did the training start? |
| survey |

## Appearance of date and time question types in web forms and KoboCollect
Expand Down
2 changes: 1 addition & 1 deletion source/question_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ available to use in your XLSForm and formbuilder:
| geoshape | <i class="k-icon k-icon-qt-area"></i> | Record a polygon of multiple GPS coordinates; the last point is the same as the first point. |
| date | <i class="k-icon k-icon-qt-date"></i> | Date input. |
| time | <i class="k-icon k-icon-qt-time"></i> | Time input. |
| dateTime | <i class="k-icon k-icon-qt-date-time"></i> | Accepts a date and a time input. |
| datetime | <i class="k-icon k-icon-qt-date-time"></i> | Accepts a date and a time input. |
| image | <i class="k-icon k-icon-qt-photo"></i> | Take a picture or upload an image file. |
| audio | <i class="k-icon k-icon-qt-audio"></i> | Take an audio recording or upload an audio file. |
| background-audio | <i class="k-icon k-icon-background-rec"></i> | Audio is recorded in the background while filling the form. |
Expand Down

0 comments on commit 002ddc7

Please sign in to comment.