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.

Archive

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

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

FirstName required validation


Reply

765 Views

Avatar
oc

29 August 2008 at 10:45pm Community Member, 3 Posts

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!