We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32025
    • 305 Posts
    I am having an issue from adding a confirm e-mail field to my login (from Shaun McCormick) registration field. I followed these directions here: http://rtfm.modx.com/display/ADDON/Login.Request+Membership#Login.RequestMembership-RequestMembership%286%29 for adding a form field.

    I added several different form fields to my form which are all working properly, but the confirm e-mail form field is not forcing the user to match the e-mail field. Here is the coding I am using for both of these fields:
    <label for="email">[[%register.email]]
                <span class="error">[[+error.email]]</span>
            </label>
            <input type="text" name="email:email" id="email" value="[[+email]]" />
            <br /><br />
            <label for="email_confirm">Confirm Email: 
        		<span class="error">[[+error.email_confirm]]</span>
    		</label>
    		<input type="text" name="email_confirm:email_confirm=`[[+email]]`" id="email_confirm" value="[[+email_confirm]]" />
    


    I have several other fields and all work and force the user to enter data. But this confirm e-mail field (if I leave it blank) is not leaving an error and allowing them to register whether it matches the email field or not. I pulled this confirm email from another area of this forum, and it seemed to match what my other form fields look like (namely the confirm password) so I thought it would work. See something wrong with this syntax? Any ideas as to why this would not force the match of the email field?

      Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
      • 32025
      • 305 Posts
      Hmmm. Since no-one is answering I suppose this is not a real easy fix.
        Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/