Skip to main content

fields/number.php

This snippet renders a numeric input field for forms, allowing users to enter numerical data such as quantities or IDs.

Default

You can overwrite this snippet by placing a custom version in site/snippets/email-manager/fields/number.php.

Modify the CSS classes or structure to match your project’s requirements.

<input type="number" <?= $field->attr() ?>>