We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25803 ☆ A M B ☆
    • 721 Posts
    We are attempting to make a registration page that auto generates the password using this property:

    &generatePassword=`1`


    It is detailed here: https://rtfm.modx.com/extras/revo/login/login.register

    However, if we set it to 1 or yes or use it all, the registration form does not go to the thank you page. If we remove it and put in a password field and and a confirm password field so that the user can set the password, the registration form works.

    We don't want the user to have to set the password because the client will be generating controlled registrations on the front end to very specific people and we don't want the client to have to think up a password each time (it's a little easier for the client this way rather than doing it in the backend, they often forget to set the correct Access Permissions).

    Has anyone used &generatePassword successfully?

    This question has been answered by rx2. See the first response.

    • discuss.answer
      • 25803 ☆ A M B ☆
      • 721 Posts
      Found it here: https://forums.modx.com/thread/94577/login-register-need-to-click-twice-on-submit#dis-post-512256

      Didn't notice &validatePassword was auto set to 1. Have to set it to:
      &validatePassword=`0`