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   1246 Views

Avatar
guillaume

Community Member, 7 Posts

18 November 2009 at 5:28am

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

Community Member, 283 Posts

19 November 2009 at 2:55pm

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

Avatar
guillaume

Community Member, 7 Posts

9 December 2009 at 7:55am

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

Forum Moderator, 5513 Posts

9 December 2009 at 8:58am

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

Community Member, 7 Posts

18 December 2009 at 7:39am

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