Skip to content

[FORMS-25355] Make checkedValue required in Checkbox v1 dialog to prevent silent 'on' submission#1901

Draft
pankaj-parashar wants to merge 1 commit into
masterfrom
issues/FORMS-25355
Draft

[FORMS-25355] Make checkedValue required in Checkbox v1 dialog to prevent silent 'on' submission#1901
pankaj-parashar wants to merge 1 commit into
masterfrom
issues/FORMS-25355

Conversation

@pankaj-parashar

Copy link
Copy Markdown
Contributor

Summary

  • Makes the Checked Value field required in the Checkbox v1 property dialog (checkbox/v1/_cq_dialog/.content.xml), preventing authors from leaving it blank.
  • Adds required="{Boolean}true" to the checkedValue textfield node.

Root Cause

When the Checked Value field is left empty, the checkbox silently submits the string "on" instead of the intended value. This is a hidden data quality issue — authors have no visual indication that leaving the field blank changes submission behaviour.

Test Plan

  • Open the Checkbox v1 component property dialog in author mode
  • Verify the Checked Value field is marked as required (asterisk / validation)
  • Verify the dialog cannot be saved when Checked Value is empty
  • Verify a form with a properly configured checkbox still submits the correct value

Jira

https://jira.corp.adobe.com/browse/FORMS-25355

🤖 Generated with Claude Code via OrcaFix skill

Authors could leave checkedValue blank, causing the HTML input to silently
submit "on" with no authoring-time warning. Mark the field as required so
the dialog cannot be saved without a value. The _cq_template.xml default
("on") pre-populates the field so authors are not blocked on new instances.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pankaj-parashar pankaj-parashar added the FormsOrcaFix Raised by OrcaFix skill label Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FormsOrcaFix Raised by OrcaFix skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant