17 August 2012 at 8:10pm
The fieldset class doesn't wrap the fields in a 'fieldset' (terrible naming). It's actually part of the template (https://github.com/silverstripe/sapphire/blob/2.4/templates/Includes/Form.ss#L10) so you'd either need to do a custom template or put the ID on a div within the fieldset.
17 August 2012 at 10:34pm
thanks for the info.
to duplicate fields and was stuck and thinking the js would only work on the <filedset> id, but luckily it can work on a div as well.