<input type="hidden">
inside a form block via an Embed element for reliable hidden fields.class="hidden"
unless you explicitly define styles like display: none
.If you're attempting to hide a text field in Webflow using <input class="hidden">
or <input type="hidden">
and it's not working after publishing, the issue typically stems from incorrect use of HTML overrides or misunderstanding Webflow's form behavior.
<input class="hidden">
display: none
unless you define that style yourself.<input class="hidden">
inside an Embed element, make sure the “hidden” class is actually styled to hide the element (e.g., display: none
).type="hidden"
type="hidden"
is correct and is the most reliable method.type="hidden"
inputs directly through the Designer UI. You must:<input type="hidden" name="fieldName" value="yourValue">
.<input type="hidden">
is located within the form wrapper in the DOM structure.type="hidden"
inputs visually, but they will be published if placed correctly.To hide inputs in Webflow reliably, use <input type="hidden">
inside an Embed element located within a form block. Avoid relying on a class="hidden"
unless you've specifically defined a hidden style. Always verify the input is within the form and published correctly.