Skip to main content

Single Followup Question

To add a single followup question after an open-end in Alchemer, follow these steps:
  1. Create your open-ended question (e.g., Q1).
  2. Add a Hidden Value action to store the followup question (e.g., followup_question).
  3. Add a Text Entry question for the respondent’s answer.
  4. Add a JavaScript Action after the respondent’s answer and before displaying the followup question.
  5. Paste the following code into the JavaScript editor:
    • Update the PREPPOP_MAPPINGS array to match your hidden value question IDs and the JSON keys you want to map.
    • Set hiddenAnswerQID to the Question ID of your answer field.
    • Set URL and apiKey as needed.

Data Quality Evaluation

To evaluate response quality in Alchemer using JavaScript, follow these steps:
  1. Add a Hidden Value action for each field you want to store from the API response (e.g., qualityScore, isFlagged).
  2. Add a Text Entry question for the respondent’s answer.
  3. Add a JavaScript Action after the answer.
  4. Paste the following code into the JavaScript editor:
    • Update the mappings array in CONFIG to match your hidden value question IDs and the JSON keys you want to map.
    • Set hiddenAnswerQID to the Question ID of your answer field.
    • Set api.url and api.key as needed.
You can either:
  • Store these values in your survey data and export for analysis
  • Or, you can access the Aftercare platform to view and download the quality evaluations.
If you have any questions, please contact our support team.