This page shows you how to create a random sequence of numbers and/or text. The function which generates the random string can be called from any event handler - the example below uses a button.
Step 1
Step 1
Add the following code to your head:
Variables to set:
- chars - The random string will be created from these characters.
- string_length - The length of the random string.
Step 2
Use the following code for your text field and button:
No comments:
Post a Comment