Types

Each row in the survey sheet must have a type that will define how the row will be interpreted when imported in ngSurvey. Below are the ngSurvey supported types you can use:

text Free text entry. Use multiline appearance for comment box.

integer Whole number input.

decimal Decimal number input.

select_one Select a single choice from a list. The choices must be defined in the choices sheet.

select_multiple Select multiple choices from a list. The choices must be defined in the choices sheet.

date Date input (calendar selection).

time Time input.

datetime Combined date and time input.

calculate Performs a calculation based on other fields. The result is not shown to the user.

note Displays static text or a message without requiring any input from the user.

geopoint Collects GPS coordinates from a map.

image Allows users to capture or upload an image.

audio Allows users to record or upload audio.

video Allows users to capture or upload a video.

acknowledge Displays a toggle (checkbox) that users must check to acknowledge something.

file Allows the user to upload a file of any type (e.g., PDF, DOCX).

range Numeric slider input. You can configure minimum, maximum, and step values.

begin_group Starts a group of either related questions on a same page or related answers to one question. To define a group that will be a page set the appeareance attribute to field-list.

end_group Ends a group that was started with begin_group

Last updated

Was this helpful?