On our intranet we maintain a web site that allows our business partners to administer part of a server. The cgi is in Perl and the form is HTML and Javascript. One particular page allows the group to set up access accounts for users. Works pretty well. The problem is this group wants a pre-populated password field. I found a perl module that suits our needs - Crypt::GeneratePassword. How do I get the generated password into the form and allow the user to accept as is or overwrite with their own? Any suggestions would be appreciated.