# Randomize string and create textfields with string

**URL:** <https://forum.kirupa.com/t/randomize-string-and-create-textfields-with-string/208294>\
**Category:** Uncategorized\
**Created:** [November 27, 2006, 11:36am UTC](https://forum.kirupa.com/t/randomize-string-and-create-textfields-with-string/208294 "2006-11-27T11:36:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![meerah](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@meerah](https://forum.kirupa.com/u/meerah)\
**Post date:** [November 27, 2006, 11:36am UTC](https://forum.kirupa.com/t/randomize-string-and-create-textfields-with-string/208294/1 "2006-11-27T11:36:53Z")

</div>

Hi,  
is there some easy method to randomize elements of an array (to randomize index numbers) and create textfields with name of these elements ?  
I had no problem making a photo gallery with strings but now I have to do a menu , with spacing (there should be same space between all the words of an array generated textfields)…How can this be accomplished ?Thanx in advance, Meerah
