Can math.random() be used to auto fill the name field of a web app item? I have a client that needs web app item submissions to be random and we don't want to ask the user to have to create a name for their submission.
I think I figured it out. If anybody is interested:
<script>
var i=Math.random();
document.getElementById('ItemName').value=i;
</script>
I should add that if you are trying to do this, be sure to place your script AFTER the element you want to be pre-populated. Otherwise, the script will run before the item loads and it won't work.