I cannot get this to work.
My setup :
A. I have a CPT called 'method'
B. I have setup a group 'test_group'
C. I have a custom text field inside this group called 'data_in_group'
D: I have a custom text field coutside the group 'data_outside_group'
I am using the following code to test if any data gets inserted upon save :