Overview
The Job Applicant Question Answer DocType is a child table that stores individual answers provided by job applicants to questions from a Job Question Set. It links questions to their answers for a specific job application.Fields
The question text that was askedProperties:
- Shown in list view
- Plain text display of the question
Internal field name identifier from the original questionProperties:
- Shown in list view
- Used to match answer to original question
The applicant’s response to the questionProperties:
- Shown in list view
- Stores the actual answer text (e.g., “Yes”, “No”)
Link to the Job Opening this answer relates toProperties:
- Links to: Job Opening DocType
- Shown in list view
- Tracks which position the answer is for
Properties
True - This is a child table DocType used within Job Applicant
True - Answers can be viewed directly in the grid view
Permissions
As a child table of Job Applicant, this DocType inherits permissions from its parent. It has no independent permissions.JSON Structure
Usage
Created Automatically
Question answers are automatically created by the process_job_questions handler when a Job Applicant is inserted.Reading Applicant Answers
Filtering Answers
Querying Answers Across Applicants
Example Document
Scoring System
Answers are used to calculate an applicant’s score in theprocess_job_questions handler:
Scoring Example
Question Set: 5 questions total- Question 1: “Python experience?” → Yes
- Question 2: “Work authorization?” → Yes
- Question 3: “Frappe experience?” → No
- Question 4: “Remote work?” → Yes
- Question 5: “Available immediately?” → No
Data Flow
- Web Form Submission - Applicant submits job application with answers in JSON format
- Job Applicant Created - Document inserted with
custom_job_question_answersJSON field - Handler Triggered -
after_inserthook firesprocess_job_questions - Answers Parsed - JSON converted to individual answer records
- Child Table Populated - Each answer becomes a Job Applicant Question Answer row
- Score Calculated - Based on “Yes” answers
- Document Saved - Updated with structured answers and score
Related DocTypes
- Job Question - The original question definition
- Job Question Set - Collection of questions
- Job Applicant - Parent DocType (standard Frappe HR)
Related Handlers
- process_job_questions - Creates answer records
- validate - Validates required answers are provided