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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Method addExtraClass on form class removed.


Reply

5 Posts   1220 Views

Avatar
guillaume

18 November 2009 at 5:28am Community Member, 7 Posts

Hi there,

Does anybody knows why the addExtraClass method has been removed from the form object. What is the best approach now to use this kind of feature for the form object.

Best, Guillaume

Avatar
dalesaurus

19 November 2009 at 2:55pm Community Member, 283 Posts

Can you be more specific as to what you need to do with the addExtraClass method? Especially in a form.

Avatar
guillaume

9 December 2009 at 7:55am Community Member, 7 Posts

Sorry for the late answer, i didnt get any notification or maybe missed it.
Well i needed that function cuz i use jquery plugin form and need to get a hold of specific form. So It was practical.
Br, G.

Avatar
Willr

9 December 2009 at 8:58am Forum Moderator, 5511 Posts

Has it been removed? I don't think it has - http://open.silverstripe.org/browser/modules/sapphire/branches/2.4/forms/Form.php#L1200

Avatar
guillaume

18 December 2009 at 7:39am Community Member, 7 Posts

Weirdooo i m gonna check that my version is complete. thx