We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4966
    • 143 Posts
    I've searched the forums for ways to implement multi page forms. I can't seem to get to the first page. I have webloginpe with &regsuccessId which does send me to the correct page after register but none of the fields are populated. Its as if the user is not logged in. Indeed if I go to the login page and login then select the profile page it works. Somewhere the user is being logged out after register and before the redirect in &regSuccessId. Here is the snippet.

    [!WebLoginPE? &type=`register` &regType=`instant` &regSuccessId=`23` &regSuccessPause=`0` &groups=`LoggedInUsers`&registerTpl=`FormRegister` &customFields=`fname,lname,cname,address,city,webAddr, bio, specialities` &tableCheck=`1` !]
      • 4966
      • 143 Posts
      Anyone?
        • 30023
        • 172 Posts
        I'm a little confused as what you are asking. WebloginPE does not have multi-page forums (does it?).

        What you are describing is one registration form followed by one login form followed by one profile form. I haven't used &regtype=`instant` for a long time (actually I'm not sure if I ever have), but looking at the documentation I don't think it logs the user in - it just means that they can log in after registration without having to verify their email address (which I'd suggest is unwise).

        That's not to say registration with instant login is impossible, but you'd need to code a solution yourself. Possibly a plugin that uses OnWebSaveUser, detects when it is invoked by WebLoginPE, and sets the suitable session variables for a web login (possibly using the WebLoginPE class).

        -- Tim.