I've created a webform that is integrated with my CiviCRM implementation. The webform has five major sections to it, each of which is reflected by a custom field set within the CiviCRM module as shown below.
All five custom field sets are linked to a specific activity type as indicated in the first screenshot. The five custom field sets are ordered, by weight, in the list of custom field sets within CiviCRM because I want the summary information displayed first to the administrator viewing the activity.:
However I want the summary questions displayed at the end of the webform, as presented to the user, so I've used webform's flexibility to let me do that.
So far so good. But when I submit the webform, the CiviCRM activity record, when in view mode, reflects the field order as specified in the webform, rather than as specified in CiviCRM, which seems odd.
However, if I edit the activity record, the field order and field sets are as ordered in my original CiviCRM field definitions.
How can I set it up so that the field order in the Activity record, when viewed rather than edited, reflects the order specified within CiviCRM?
(I'm aware that this question is more about CiviCRM than it is about Drupal per se, but given that CiviCRM is a Drupal module, and there's no SE site dedicated to CiviCRM - yet - I hope you'll bear with me and allow answers to this question.