How to generate a Random Alphabet letters in wixcode

On Database one of the field i want to generate a random Letters from A-Z
How to do this.

1 Like

I also would like to know how to do this, Just into a text box or input box not a table.
I know how to generate a random number and place it into an Input box. from 1 to a million + 1or any number you want .
Any help would be greatly appreciated. Thanks

$w(ā€œ#input1ā€).value = ā€œCā€+(Math.floor((Math.random() * 1000000) + 1)).toString() ;