Ok I have a form that is used to enter delivery information such as invoice #, name, address, city, state, zip, phone, instructions, order amount and other things. What I want to do, if possible, is when the info is saved to the database, give the delivery a custom unique identity based on the city and a number starting at 1 (i.e. New Orleans - 1, New Orleans - 2, New Orelans - 3 Kenner - 1 Kenner - 2, Kenner - 3, Metairie - 1, Metairie - 2, Metairie - 3)

Thanks in advance,
John