Just thinking out loud here, I thought of a messy way in which I would accomplish this (and this is by no means Ideal but I think it will accomplish your goal)
-Add a new field in your form called form number
- Republish your form making sure that the form number collumn is promoted and that it is editable outside the form.
-Set your Document ...