Feature proposal #7873
closedImplement pseudo fields for first and last fieldgroup rows
Description
This should allow easy access to the first or last row of a fieldgroup. Example as follows.
cb_fieldgroup__first__cb_text
cb_fieldgroup__last__cb_text
Updated by beat over 4 years ago
Wouldn't it be more generic to have a single pseudo-field-type e.g. cb_fieldgroup_subgroupfield, and then in its parameters a way to select one or multiple ones with a configurable separator for the implode ?
Updated by krileon over 3 years ago
- Subject changed from Implement pseudo fields for fist and last fieldgroup rows to Implement pseudo fields for first and last fieldgroup rows
- Priority changed from Normal to Low
Updated by krileon over 3 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Improved substitution support for field groups. The following is the supported substitution structure.
[FIELDGROUPNAME__INDEX__FIELDNAME]
or
[FIELDGROUPNAME_INDEX_FIELDNAME]
Where INDEX is you must supply an integer beginning from 0. This already works in current release. However, you can now supply an index of "first", "start", "last", or "end" to get the first row or last row easily. Additional text based indexes maybe added later, but at this time there doesn't seam to be a need.