Hi there…been playing with the hotspot stuff andI have it working but what I really want is on the login page to have a link or button to be able to create an account and then after the account is created be presented with the logon page or be logged in. I’ve looked through the wiki and haven’t found a way to do this. Is there any easy way to accomplish this?
After a user creates an account, we give them an “account successfully created” page. On this page, in addition to the text, is a buttton that says “click here to login”.
That button is the submit button for a form with hidden fields for userid_ID and password, which were setup by the account creation process. The action parameter of the form is the address of the hotspot login.
When the user hits the “click here to login” button, it looks to the hotspot like a normal user login and the user then gets logged in.
If you want this to happen without the user having to click the button, use the javascript method “document.name_of_form.submit()” and javascript will click the submit button for them.
If you do this, be sure to have a link that says “if nothing happens in 5 seconds click here” in case the user has javascript disabled.
We use this solution on all of our hotspots and it works very well.
thanks for the info…so what I am seeing is I have to modify the html for the login page. What I want to do is take it one step further and have the user create their own account and go through Paypal.