Topline OS now preserves leading zeros exactly as entered in Forms, Surveys, and Quizzes. Submissions, contact updates, exports, and webhooks ensure accurate IDs and codes throughout the process.
Leading zeros are preserved in supported inputs for Forms, Surveys, and Quizzes
Values are stored and displayed as entered in submissions and contact updates
Exports and webhooks send the same zero-padded values for reliable downstream use
Validation respects zero-prefixed inputs when configured for text or pattern rules
Step 1
Open a Sites > Form, Survey, or Quiz in the builder.
Step 2
Click on Settings
Step 3
Map the field to a text custom field when you want zeros preserved in the field record.
Step 4
Preview and submit a test with a zero-prefixed value to confirm it is kept.
Prefer text or masked inputs for codes and IDs. Pure number fields may be reformatted by external tools.
Add a short helper note under the field so users enter the expected format.
Use pattern validation for strict formats, for example fixed-length IDs.
Do I need to update my existing forms to get this?
No. Preservation of leading zeros applies automatically. Review field types if you relied on numeric-only inputs for codes.
Which fields keep zeros?
Text-based and masked inputs in Forms, Surveys, and Quizzes. Mapping to a text custom field ensures zeros persist in the contact record.
Will CSV exports keep zeros?
Yes. The exported data includes zeros. In spreadsheet apps, set the column format to Text to prevent auto-trimming.
Does validation change?
Your configured rules still apply. If you used numeric-only validation, switch to text or a pattern rule when you need leading zeros.
Are past submissions corrected automatically?
No. Previously saved values remain as-is. Submit new entries if you need corrected data going forward.