Hidden Fields

The HiddenFields template part renders hidden input fields that are essential for the WEM runtime to function correctly.

It is important that this template part is placed inside a <form> block, as shown in the example below.

Syntax

<% HiddenFields %>

Example

<body>
    <!-- Body content -->
    <form class="page" method="post" action="" enctype="multipart/form-data">
        <!-- Body content -->
        <% HiddenFields %>
    </form>
    <!-- Body content -->
</body>

Last updated

Was this helpful?