I am struggling over the creation of pages to include an incrementing number not like (1) etc...

I want to have a template lets say (Incident)

Have a button that creates the page like

INC-000001
INC-000002
INC-000010

I do not like how the numbers increment with same page names because the page would not be in incremental order see below

INC (1)
INC (10)
INC (2)

Has anyone else tackled a similar situation.

I had an idea of getting a count of pages in a particular directory and possibly using that, but I am not sure how to do that.

Any pointers or ideas on how I might need to approach this?

If I have to manually change the number of 0's in front of the formula then thats what I have to do.

I am stumped and banging on the walls at this point.

To view responses click here: http://forums.developer.mindtouch.com/showthread.php?t=6286