---
id: DFMOD-C6-POS-006
title: "Target configuration validates and applies latest rule to new visits only"
product: web
module: digital-form
type: functional
priority: P1
risk: high
status: draft
automationStatus: planned
sourceRefs:
  tsd: PK141
  tsdSection: C6
  tsdScenario: C6.4
  prd: PK141
  jira: null
automationRef: null
lifecycleStatus: active
lifecycleReason: "AI-generated draft from PK141 TSD C6.4; pending QA review."
lastReviewedAt: null
reviewedBy: null
supersededBy: null
duplicateOf: null
blockedBy: null
preconditionRefs:
  - PRE-DF-cp-editing-form
tags:
  - web
  - digital-form
  - form-modification
  - target
  - client-portal
  - pk141
  - staging
---
## Objective
Verify target config enable/disable/value saves correctly and the latest rule applies only to new visits.

## Preconditions
- See [[PRE-DF-cp-editing-form]]

## Steps
1. Enable target with a valid value, then save
2. Disable target, then save

## Expected Result
- Then a target value is required when enabled
- And the latest target rule applies only to new visitation
- And with target disabled, submission is free without a minimum requirement
- And with target enabled, progress is shown clearly (e.g. 2/5)

## Source Traceability
- TSD: PK141
- Section: C6 - Target Modification
- Scenario: C6.4 - Target configuration validated, latest rule for new visit
- Acceptance Criteria: PRD C.24 Scenario 1-4, C.25 Scenario 1-4, M.10 Scenario 1-5

## Evidence Required
- Saved target config + new-visit behavior.

## Notes / Gaps
- Invalid target input rejection is covered by DFMOD-C6-NEG-007.
