Click to See Complete Forum and Search --> : web design using javascript


maroof
01-06-2003, 03:37 PM
I am trying to design a web page, but the only problem is that I have the login button setup in such a way that it directly takes me to the companies job page. Now, I want to include a feature that checks the login i.d and password. I have tried some scripts, but doen't work. Could you help?Thanks
Marouf

khalidali63
01-06-2003, 03:52 PM
Does this mean that login button do not validate the user info already and directly takes any user with any password to the Jobs Page?

If true then its wrong.

For solution,take a look at the login buttons onclick event impelemntation in the form.
and see what methods are being called.
In that method instead of forwarding the user to the next page you need to put the login validation script /processing, once everything is validated then you can forward the usr exactly the way its being done already

Khalid

maroof
01-08-2003, 04:07 PM
I have just got the login to open up in a new window, but the thing that I am not understanding, is that how should the login validate the username and passwords? Do you know where can I find some appropiate scripts- like javascript or something regarding this?
Thanks
maroof