Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Webform Numeric Element Validation

2 sites No security coverage Drupal 10–11
View on drupal.org

This module enhances Webform's numeric input fields by providing more flexible validation. It allows for settings related to locale-dependent numbers, leading zeros, and precision, which are not available in the default Webform textfield element. You would use this module when you need more advanced control over how numbers are entered and validated within your Webform submissions.

This module is supposed to provide a bit more flexibility by being able to set properties in form build. The basic numeric elements provided in Webform don't offer enough functionality that is expected from numeric input fields. The fields have little flexible validation for numbers, including support for locale dependent numbers and leading zeros, built in settings for precision, etc.

Features

Here, answer the following questions: What is the basic functionality? What unique features does enabling this project add? When and why would someone use this module? What use cases are there?

An extension to the Webform Textfield element that allows flexibility for numeric inputs.

Features include:

  • Validation for numeric value, min/max, precision and leading zeros

Post-Installation

Once installing the module using Composer, the module should be accessible through the Drupal user interface. Navigate to Extend > Search up "Webform Numeric Element Validation" and Install.

Once installed, you should be able to reference the element by adding it to a Webform. Properties must be added through YAML as UI component is not yet available.

Additional Requirements

Dependent on Webform

Similar projects

The Formatted Number Input module, which works with Drupal core number fields and not Webform fields.
https://www.drupal.org/project/formatted_number_input

Supporting this Module

Contribute

Community Documentation

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Sep 2025
Latest release
10 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
1.0.3 Stable 10–11 Oct 20, 2025
1.0.2 Stable 10–11 Oct 20, 2025
1.0.1 Stable 10–11 Oct 2, 2025
1.0.0 Stable 10–11 Sep 25, 2025