Skip to content

Fix hidden field 11 - #73

Open
stonebuzz wants to merge 2 commits into
11.0/bugfixesfrom
fix_hidden_field_11
Open

stonebuzz wants to merge 2 commits into
11.0/bugfixesfrom
fix_hidden_field_11

Conversation

@stonebuzz

@stonebuzz stonebuzz commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

Backport for #69

The hidden question type kept the default behavior of AbstractQuestionType,
which excludes it from forms answered without authentication. As a result,
every hidden question was dropped from anonymous forms and its value was
never saved.

The submitted value is never used: prepareEndUserAnswer() always returns the
configured default value, so the type can be enabled for anonymous forms.

Screenshots (if appropriate):

@stonebuzz stonebuzz self-assigned this Oct 20, 2026
@stonebuzz
stonebuzz marked this pull request as draft October 20, 2026 08:00
@stonebuzz

Copy link
Copy Markdown
Contributor Author

Need #74

@stonebuzz
stonebuzz marked this pull request as ready for review October 20, 2026 08:29
@stonebuzz
stonebuzz force-pushed the fix_hidden_field_11 branch from 1efd790 to fbcd381 Compare October 20, 2026 08:48
@Rom1-B
Rom1-B self-requested a review October 21, 2026 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant