rilwis/meta-box — pull request #152 by gawainlynch (2012-08-17 17:21:05+00:00)
Title: Enable cloned fields in a metabox to be logically grouped

This patch allows cloned fields in a metabox to be logically grouped so they can be cloned/removed together.

Use case:

You have a text field and a radio button field with 'Yes' and 'No' options:
"Sky is blue" "Yes"
"Grass is pink "No"
"Justin Beiber has talent" "No"

And so on. This saves you having to individually clone both fields.

To use, set 'clone' => 'true' and add 'clone-group' => 'your-clone-group-name' to the field definition.

Signed-off-by: Gawain Lynch