"Advanced Conditional Groups". * 4. Toggle "Enable Advanced Groups" to ON. * 5. Use "Add group" and "+" buttons to build your complex logic. * 6. Save the form. * * FEATURES * - NESTED GROUPS: Create multiple groups and choose between AND/OR logic between them. * - INTERNAL LOGIC: Choose between AND/OR logic for rules within each group. * - NATIVE IMPORT: "Initialize from existing Conditional Logic" button to quickly migrate setups. * - SECURE STORAGE: Saves directly to field settings. * * TIPS * - Enabling Advanced Groups overrides the standard Gravity Forms "Conditional Logic" for that field. * - You can choose whether the logic should "Show" or "Hide" the field when conditions are met. * * --- TECHNICAL NOTES --- * 1. STORAGE: Config is stored on the field as field.blAdvLogic via SetFieldProperty. * * 2. CACHING: Per-field cache (BL_ADVLOGIC_CACHE) survives the toggle cycle where disabling * then re-enabling advanced groups caused groups to be wiped: the cache stores the * last known good config (with actual rules) per field ID, and restores it when * re-enabling if the current in-memory config has empty groups. */ add_action( 'gform_editor_js', function () { ?>