John, I’m liking the functionality of your plugin so far. One issue I have with it is in fields with conditional logic. If I have a field group that contains a radio button (0 : URL, 1 : Page, 2 : Download, etc.) and a relevant field displayed depending on the choice made (e.g. Url, Relationship, File, etc.), then things work OK, ONLY when the field group is included once in another field group. The moment I add a second instance of the included field group, the display messes up. In fact, only the radio buttons from the LAST included field operate – and they affect all the conditional field for all the included field groups.
Otherwise I have no issues with the plugin so far. Great work! Let me know if you need some help. I don’t have a great deal of time right now, but to move forward with this plugin, I would need this to work, so am willing to help you on it.
I had needed to do this a couple months ago for a client. Rather than having class names entered into the administration of the fields as hereswhatidid did, I simply added the field name, field key, Flexible Content name (if any) and Flexible Content layout name (if any) to the body tag classes.
I decided to make a plugin to enable this functionality, though on the plugin page I also provide code that will do the same thing (FAQ tab).