Jump to:

10987 Posts in 2724 Topics by 1817 members

All other Modules

SilverStripe Forums » All other Modules » User Forms: Add an E-mail Confirm field?

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1203 Views
  • purplespider
    Avatar
    Community Member
    81 Posts

    User Forms: Add an E-mail Confirm field? Link to this post

    I have a form and would like to add a second e-mail field, where users have to reenter their e-mail address, and the form will not validate unless both e-mail fields match.

    Is this possible to achieve in the User Forms module, or shall I need to develop the form from scratch to implement this?

    Many Thanks
    James

  • purplespider
    Avatar
    Community Member
    81 Posts

    Re: User Forms: Add an E-mail Confirm field? Link to this post

    So after adding a second E-mail field, I just need to know how to add a custom validation rule that will compare the 2 fields?

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: User Forms: Add an E-mail Confirm field? Link to this post

    Hm I'm not sure you would be able to set validation of 1 field must equal another. You may have to implement your own EditableConfirmEmail field and use that in the form. No plans to provide functionality along those lines in the module any time soon.

    1203 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.