Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » FirstName required validation

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 747 Views
  • oc
    Avatar
    Community Member
    3 Posts

    FirstName required validation Link to this post

    Hi,

    I am trying to get rid of the required validation of FirstName in MemberTableField (Popup).
    I try to avoid changing the core so I wrote a custom Member_Validator replacement class Staff_Validatior (derived from RequiredFields like Member_Validator) and inserted Object::useCustomClass('Member_Validator', 'Staff_Validator', true); into my _config.php

    My problem is, that the original Member_Validator class is used and not my Staff_Validator.

    Any ideas?

    Thank's in advance!

    747 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.