Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

FirstName required validation

Go to End



Community Member, 3 Posts

29 August 2008 at 10:45pm


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!