We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7045
    • 225 Posts
    My client just has to have two login forms on the same page, which is not needed. However, I am done arguing with him on this one.

    How can I make this happen? I figured a submitVar would work, but no dice. Am I missing something? Is it even possible without a major hack?

    Thanks
      • 37393
      • 68 Posts
      If im understanding you right, if you use multiple snippets of same type and same params on a page without any parameters that differ from eachother will create a conflict between these two snippet calls.

      What you need to do is that you will need to put a placeholder parameter into one of those two login snippets, e.g:

      [[!Login? 
      &toPlaceholder=`anything`
      ]]


      Placeholders with prefix set in the parameter:
      [[%anything.username]]
      [[+anything.recaptcha_html]]
      


      Default placeholders by Login are:
      [[%login.username]]
      [[+login.recaptcha_html]]

      ..etc

      Hope this helped you,
      -bow
        IntoVPS - VPS hosting service with super-fast response.
        If MODx does not suit your needs then you have a lack of imagination.
        • 7045
        • 225 Posts
        Thanks, I will give it a shot.
          • 46145
          • 4 Posts
          Did you find a solution? "toPlaceholder" parameter does not work for me :-(

          http://forums.modx.com/thread/88340/more-login-forms-on-same-page---toplaceholder-not-working