Generate a Reference number/ Random number or characters

Hi!
I use paperform as an order form and I’m looking for an easy way to generate an order number.
I tried the submission ID but it’s too long.

Is there a more compact version of submission ID, or is there a way to generate random numbers?
preferably 7 to 10 characters

Something that can be used in answer piping as well as I want it to be displayed on Success page and be mentioned in SMS (via smsapp integration)

See Friendly order number