Skip to content

v1.4.2 - Combined Field Support

Latest

Choose a tag to compare

@pmmikejackson pmmikejackson released this 26 Oct 16:19
05565a5

What's New in v1.4.2

Combined Field Support

This release adds the ability to combine related form fields together in webhook payloads, specifically designed for checkbox fields with "other" text input fields.

Key Features

🔗 Field Combination

  • Automatically combines checkbox selections with their related "other" text fields
  • Employee training field (174) + training "other" field (258) → single combined entry
  • Pre-employment screening field (175) + screening "other" field (37) → single combined entry

📝 Improved Output Format

  • All checkbox fields now return as comma-separated strings instead of arrays
  • Cleaner, more readable webhook payloads
  • Better integration with downstream systems

Example Output

Before v1.4.2:

{
  "employee_training": ["Online Safety", "OSHA Training"],
  "employee_training_other": "Leadership seminar"
}

After v1.4.2:

{
  "employee_training": "Online Safety, OSHA Training, Leadership seminar"
}

Technical Changes

  • Added combined_fields configuration to merge related fields
  • New helper methods: is_combined_field() and get_combined_field_ids()
  • Enhanced checkbox field handling to append combined field values
  • Combined fields automatically excluded from payload to prevent duplication
  • Empty "other" fields are gracefully skipped

Upgrade Notes

  • ✅ Fully backward compatible with v1.4.0 and v1.4.1
  • ✅ No configuration changes required
  • ✅ Existing webhooks continue to work without modification
  • ✅ Field combinations are pre-configured for fields 37, 174, 175, and 258

Files Changed

  • gravity-forms-webhook-field-mapper.php (+74 lines)

Installation

  1. Deactivate the current version
  2. Delete the old plugin files
  3. Upload and activate v1.4.2
  4. Test with a form submission

🤖 Generated with Claude Code