Question
How do I auto-generate an invoice number based on date/time with two random digits?
I want to add a javascript that auto-generates an invoice number in the following format: yymmddhhmm-rr where the digits are year year month month day day hour hour minute minute - random digit random digit. Can anybody help me with this? I know how to insert it, I just don't know the actual coding.
