Skip to content

[6.x] Show hidden fieldtype in form submission - #12970

Merged
jasonvarga merged 1 commit into
masterfrom
hidden-field-form-submission
Nov 6, 2025
Merged

jasonvarga merged 1 commit into
masterfrom
hidden-field-form-submission

Conversation

@jasonvarga

Copy link
Copy Markdown
Member

Replaces #11040

This PR will filter out the hidden fieldtype from the fields loop when not in a form submission.

Previously the hidden fieldtype was styled as hidden, but it was still being rendered. Now it actually filtered out. It could potentially cause issues with nth child selectors etc. The data is still submitted when you hide a hidden field on a publish form.

This also adds a template so the hidden field is (not) rendered in a frontend forms fields loop.

@jasonvarga
jasonvarga merged commit b1696a4 into master Nov 6, 2025
19 checks passed
@jasonvarga
jasonvarga deleted the hidden-field-form-submission branch November 6, 2025 19:22
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