Overview
The Job Question DocType is a child table DocType that represents individual questions within a Job Question Set. It cannot exist independently and must be part of a Job Question Set.Fields
The question text displayed to job applicantsProperties:
- Required field
- Shown in list view
- Plain text input
Internal field name used to store the answerProperties:
- Read-only
- Hidden from UI
- Auto-generated identifier
Type of input control for the questionOptions:
- Checkbox
- Select (default)
- Hidden from UI
- Read-only
- Default value: “Select”
Whether the question must be answeredProperties:
- Checkbox (0 or 1)
- Default: 0 (not required)
- Shown in list view
Display order of the question in the formProperties:
- Integer value
- Shown in list view
- Used to control question sequence
Properties
True - This is a child table DocType that must be used within a parent document
True - Questions can be edited directly in the grid view
Permissions
As a child table, Job Question inherits permissions from its parent DocType (Job Question Set). It has no independent permissions.JSON Structure
Usage
Adding Questions to a Set
Reading Questions
Updating Question Order
Example Document
Field Naming Convention
Thefieldname field should follow these conventions:
- Use snake_case (lowercase with underscores)
- Be descriptive and unique within the question set
- Avoid special characters and spaces
- Example:
python_experience,work_authorization,remote_preference
Input Types
Checkbox
Presents a single checkbox for yes/no questions. The answer is typically “1” (checked) or “0” (unchecked).Select
Presents a dropdown with predefined options (typically “Yes” or “No”). The answer is the selected option text.Validation
Questions marked asrequired=1 will be validated by the validate handler to ensure applicants provide answers.
Related DocTypes
- Job Question Set - Parent DocType containing questions
- Job Applicant Question Answer - Stores applicant responses to questions