Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've added a hidden field into the form (Type:hidden on the webform "Form components" page). The hidden field has a value and (as predicted) it is not shown on the form when a user input data. The form is multipage with a "preview" button at the end (enabled preview page).
On the preview page the value of the hidden field is shown to a user.
It works like this for both Hidden types: Secure value and Hidden element.
Please help.
Comments
Comment #2
stephandale CreditAttribution: stephandale commentedFyi you can choose which fields show on the preview page via Webform -> Form settings -> Preview page -> Included preview values.
(I took the liberty of closing the issue - my apologies if this is bad etiquette!)