Form Versioning
Save snapshots of your form configuration over time. Restore to previous versions if needed.
Creating Versionsโ
Click the + button in the Version History panel to create a new version snapshot. Add optional change notes to describe what changed.
When to Create Versionsโ
- Before making significant changes
- After completing a feature
- Before publishing
- When sharing with others for review
Version Informationโ
Each version includes:
- Version number - Auto-incremented (v1, v2, v3...)
- Timestamp - When the version was created
- Change notes - Description of modifications
- Field count - Number of fields at that version
- Page count - Number of pages at that version
- Published status - Whether form was published at that time
Version History Panelโ
Access version history from the Form Builder:
- Open the form in Form Builder
- Click Version History in the toolbar or sidebar
- Browse all saved versions
- View details of each version
Restoring Versionsโ
Click the restore button on any version to revert your form to that state.
Restore Processโ
- Select the version to restore
- Click Restore button
- Confirm the restoration
- Current configuration is saved as a new version first
- Form reverts to the selected version
warning
Restoring a version replaces all current field configurations, pages, and variables with the snapshot values.
Undo a Restoreโ
Since your current configuration is saved before restoration, you can:
- Go to Version History
- Find the version that was auto-saved
- Restore that version to undo
Comparing Versionsโ
View differences between versions:
- Fields added - New fields in newer version
- Fields removed - Fields deleted
- Fields modified - Changed configurations
- Settings changes - Form-level setting differences
Version Best Practicesโ
- Descriptive notes - Write clear change descriptions
- Version before changes - Save before major edits
- Regular snapshots - Version periodically, not just at milestones
- Review before restore - Check version details before restoring
- Test after restore - Verify form works correctly
Auto-Versioningโ
NetPad can automatically create versions:
- Before publish - Auto-version before going live
- On schedule - Daily/weekly snapshots
- Before restore - Always saves current state
Version Retentionโ
Configure version retention:
- Keep all - Never delete versions
- Keep last N - Retain only recent versions
- Keep published - Always retain published versions
- Time-based - Delete versions older than X days
Use Casesโ
Feature Developmentโ
v1: Initial form with basic fields
v2: Added validation rules
v3: Added conditional logic
v4: Added multi-page structure
v5: Published to production
A/B Testingโ
v1: Original form
v2: Test variation A (different layout)
v3: Test variation B (different fields)
v4: Winner (restored from v2)
Rollbackโ
v5: Current (has issues)
v4: Stable production version
โ Restore v4 to fix issues quickly
API Accessโ
Access versions programmatically:
// Get version history
GET /api/forms/{formId}/versions
// Get specific version
GET /api/forms/{formId}/versions/{versionId}
// Restore version
POST /api/forms/{formId}/versions/{versionId}/restore
Next Stepsโ
- Form Builder - Create and edit forms
- Form Library - Manage saved forms
- Form Publishing - Publish your forms