PDA

Click to See Complete Forum and Search --> : easy one but ...i dont get it??? help me please


Johnny23
Mar 18th, 2001, 10:14 PM
how do i using vbscript
randomly generate a 7 digit number within my asp page
everytime it is opened it randomly creates a new 7 digit number in that is displayed in a locked textbox so when
i click the submit button it submits that vale to my database???

i can get it to submit the data i eneter in it to my database but want to macke this more easier to create a new password for each user that is created???

text box called Password

How do i do that???

Sundance Kid
Mar 19th, 2001, 06:13 AM
You can use the RND function in VBScript.

Or you can use the time functin in Javascript to use the time to generate a number.

A few tips. www.htmlgoodies.com. Check the javascript tutorials.


Hope it helps!