Good afternoon,
I'm looking for the best way to implement a sequential form numbering system in a form field. For example, let's say that I have a form, this form should become form ABC0001 upon submit (inside of the form field that is). Then the next one should be ABC0002.
I guess one way to do it would be to implement a database table in which the number is stored and incremented by 1 when a new form is submitted.
I was just wondering if there is a different way; maybe in which the forms in a folder's repository will be counted and therefore the next available number can be assigned or something. Of course this might require a workflow as well.
I had also thought in using the instance id or a GUID if the sequential numbering isn't possible, or even the current time in seconds, but ideally would prefer something sequential.
Any ideas/posts on how to do this with database, workflow and without database or workflow?
Thank you,
Raul Gonzalez