Author |
Topic  |
|
stever
New Member

65 Posts |
Posted - 16 August 2005 : 12:57:28
|
I've been trying, unsuccessfully, to figure out how inc_header gets processed, with the ultimate goal of getting a "register" button to direct a user to the register.asp or policy.asp page. At present, when I click on the button I've inserted - which simply replaces the text version - I get redirected to the login page as if the login information was not correctly entered. Bafflingly, clicking on "Forgot Password" successfully redirects flow to the password.asp page without error. I'm just not seeing the difference in the code for the processing of the form or hyperlink.
Any insight on where to look in the header file and how to get this button working would be appreciated.
.Steve |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
stever
New Member

65 Posts |
Posted - 16 August 2005 : 15:19:55
|
Yes. Presently, when clicking on register, even though the hyperlink points to register.asp, the form processing invokes the login case, and since the login info is blank, I get the error portion of the default.asp page (asking to retry or register). I just can't make sense of it. |
. Steve |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 16 August 2005 : 15:55:49
|
Why a button? A button will mean, most of the times, that you will have a form and the button will submit the form. Probably you're just submitting the login form. Why don't you use an image instead of a button? |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
stever
New Member

65 Posts |
Posted - 16 August 2005 : 15:57:57
|
My bad!. It is an image and not a button, though it falls inside the code for the form, as does the forgotten password hyperlink. It just seems to process the form when clicked, rather than follow a hyperlink to register.asp. |
. Steve |
 |
|
stever
New Member

65 Posts |
Posted - 16 August 2005 : 16:07:04
|
Can I be bad a second time? I just noticed that I used INPUT instead of IMG. So dumb! Works now. |
. Steve |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
|
Topic  |
|