<input type="hidden"> only for storing values, as it won't render visibly. .hidden class in Webflow or set the element's Display to "None" using Webflow's Designer panel. If hiding a text field using <input class="hidden"> or <input type="hidden"> isn’t working in Webflow after publishing, the issue usually lies in incorrect usage of HTML attributes or CSS conflicting with Webflow's default styles.
<input type="hidden"> Won’t Render Visibly by Design
type="hidden" are not visible in the browser, and they won’t render any visible input fields.type="hidden" is not appropriate—it fully removes visual rendering.
<input class="hidden"> Relies on Correct CSS
.hidden. If you add class="hidden" without any matching custom style, it will have no visual effect.class="hidden", you must define a class named hidden in Webflow and explicitly set its style (e.g., Display: None).
<input type="hidden"> in a text field or in a way Webflow doesn’t expect, it could break or be ignored on publish.
Using <input type="hidden"> won’t display a field, so it’s only for storing hidden values. Using <input class="hidden"> requires a properly defined CSS class, which Webflow won’t automatically handle. Instead, use Webflow’s Display: None setting in the Designer or properly styled classes to hide elements.