Open Survey and select Builder to edit your questionnaire with guided controls. Select Code to work directly in Python.

Switch between Builder and Code
If a warning appears when you switch tabs, select Close to return to your draft and use the survey's Save action. Select Discard to switch tabs without those edits.
Saving can normalize the Python source. See Differences from standard Python for examples.
Preview and edit questions in Builder
Read through the questionnaire in Builder to see question text, answer controls and attachments in context. When the survey has programming steps, select Programming details to show those steps alongside the questionnaire. To check routing and interactions as a respondent, open a test link.
Add a question
To insert a question at a specific point, hover between steps or tab to the insertion point and select Add question. Choose a question type, fill in its fields, and select Add question to update your draft. Select Save on the survey to keep the change. Use a question's More actions menu to move it up or down.
Editing a step
- Select the question you want to edit. Use Find in script to locate it by its wording.
- Edit the question wording or its answer options. To reuse text options, choose From materials and select a Material and Column. To use attachments, choose Media query and filter by metadata where needed.
- Select Save in the question editor to update your draft, then select Save on the survey.
You can preview changes to materials while editing a question. Standalone question blocks also support guided editing and material previews.

Image-backed grid rows
Create image-backed rows in a repeated grid question group in Code. Once the media query is in the code, you can reopen it in Builder to edit its material and filters. See Image rows in repeated question groups.
Focus on code and review your draft
In Code, use Enter focus mode to expand the editor while keeping your draft. Press Escape or select Exit focus mode to return to the survey layout.

Select Review changes from saved code to open Changes from saved code. The read-only comparison shows the last saved code on the left and your draft on the right. Select Close review to return to the draft.

Saving while another editor is working
The platform protects ordinary survey saves when more than one person has the survey open. If two editors change different parts of the survey, the later save merges those independent changes and adopts the resulting saved version.
If both editors change the same field, the later save is rejected instead of silently overwriting the earlier work. Your unsaved draft remains in the editor and the warning lists the changed fields.
Select Review changes to load the latest saved survey and compare it with your unsaved values. The review dialog offers three choices:
- Keep editing closes the comparison and leaves your draft unchanged.
- Load latest without my changes adopts the latest saved survey.
- Use my changes reapplies the selected fields to the latest survey as a new draft. Review that draft before saving: each selected field is replaced as a whole, including another author's changes inside that field.
If a save is temporarily busy rather than conflicting, select Retry save. Do not refresh the page to resolve either state; use the review controls so your unsaved work remains available.
