auto submit form if password matches. from a log in screen
Posted on 2007-03-27
I have a login form and what I require is the login in screen to pass through when the pass word matches a default value...at present the system looks at a file record in the data base and if the system password is for example abcxyz then the log in screen auto populates with the user name password and file password in the log in box so the user can hit log in and they do not need to know the password. now the criteria has changed and they require the log in screen will auto disappear and give access to the file on question. if the filepassword is anything except abcxyz the login box will stay blank. what I need to do is a redirect if abcexy is found. so effectivly a auto submitt line in stead of hitting the submit button if password is a match.