qwkslvr1999
Registered User.
- Local time
- Today, 00:39
- Joined
- Jan 21, 2002
- Messages
- 42
I would like to create a function that will take numbers as inputs and generate a certain combination of 5 letters.
Let's use A,B,C,D,E for example. a user inputs how many A's or B's and so on, he wants to have in the output. It is not necessary that there is an input for every letter. So, a user can input 15 for A, 8 for D and 17 for E. The output should always be a 40-character combination. The specified letters should be arranged in a random order.
I tried the suggestion in another post titled "random 6 digit letter field" but I do not know how I can modify it to be able to specify the number of letters I want to appear in the result.
Hope someone will be able to help me this. Thanks!
Let's use A,B,C,D,E for example. a user inputs how many A's or B's and so on, he wants to have in the output. It is not necessary that there is an input for every letter. So, a user can input 15 for A, 8 for D and 17 for E. The output should always be a 40-character combination. The specified letters should be arranged in a random order.
I tried the suggestion in another post titled "random 6 digit letter field" but I do not know how I can modify it to be able to specify the number of letters I want to appear in the result.
Hope someone will be able to help me this. Thanks!
Last edited: