Forms (hidden field)

Hello, I would like to know if in a Hippo form I can put a hidden field already filled in (already filled in by us) so that when I receive it, I can filter the emails received from that form.If possible, I would like to know which field it is and how to add it.
thank you very much.

Hello @joseba ,

what is the purpose of this prefilled hidden field? Is it to prevent spam or to categorise form submissions?
Also, are you referring to hst-forms or enterprise forms?

is for sorting form submissions

I mean enterprise forms

Is there someone who can help me? Thank you

Hi,

I’m afraid that out of the box, there’s no setting on a Text field type to indicate that this concerns a hidden field. You could perhaps make that happen on the front end by naming convention, e.g. when a field name starts with, or contains, “hidden”.

An alternative can be to create a custom field type, maybe extending Text field. There is documentation for that, note that coding in Wicket can be challenging, see Creating custom form fields - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS

(note, the doc is a bit outdated, with jsp rendering, but the basics should hold)

Cheers, Jeroen