Nesting Fieldsets to allow larger groupings
-
I have various different blocks of information I need to list under various different headings, and the best way I could think of doing it was to nest my fieldsets so that the information would look like the following:
Fieldset1 Open
– Title of Block
– Fieldset2 Open
– – Title of Information
– – Price
– Fieldset2 Close
Fieldset1 CloseThis would allow me to keep everything fairly neatly – and whilst this does display fine, when it comes to saving the information itself, any information in a subsequent Fieldset1 just gets shunted into the initial Fieldset1.
Is this just me? Have I missed something? Or does the plugin just not really like nested fieldsets? My template code follows:
[information_fieldset]
type = fieldset_open
legend = information Dues
multiple = true
multipleButton = true[information_ID]
type = text
label = ID
blank = true[information_title]
type = text
label = Title
blank = true[information_block]
type = fieldset_open
legend = Itemised List
multiple = true
multipleButton = true[information_description]
type = text
label = Description
blank = true[information_measurement]
type = text
label = Measurement
blank = true[information_price]
type = text
label = Price
blank = true[information_block]
type = fieldset_close[information_fieldset]
type = fieldset_close
- The topic ‘Nesting Fieldsets to allow larger groupings’ is closed to new replies.