Open aschempp opened 10 years ago
I would need to override the default template for that (form_fieldset).
https://github.com/contao/core/blob/master/system/modules/core/templates/forms/form_fieldset.html5
That's why this is a feature request for Contao Core ;-)
Omg :blush:
+1
Will do. Just curious: does adding the "name" attribute add any form data to the request?
Hmm, we would probably need to test that. Does not much sense to me, but MDN says
«The name associated with the group, which is submitted with the form data.»
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset
Hm, so this will have side-effects. Are we sure that we need this?
Looks like a feature for Contao 4 to me
What about the side-effects?
We need to test them… I would be fine with an ID field only (and probably a class) which should be fairly simple?
An ID field will not be a problem.
Please add support for the name attribute (and ID as "ctrl_name") for fieldset group start widget in form generator. This would be helpful to access the fieldset using javascript.
See http://www.w3.org/wiki/HTML/Elements/fieldset
@qzminski