Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Text To Number

Security covered Maintenance fixes only 3 sites

This module provides a widget that allows users to enter text into number fields. It then converts this text into a number or a null value, preventing errors during form submission.

The text to number module provide a widget to number fields then it applies text input into that number field and the
validation hook that will run before save.

Features

You want to add text in to your integer field and have it parsed to integer or NULL? Select this widget in your field display. This will enable people to add text like "No value" or "Missing" but have that turned to NULL rather than zero.

Post-Installation

After installing this module go to the manage form display of your content type and you will find the text to number widget for number fields of that content type.

Drupal 8–11

Ask your assistant about Text To Number

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Apr 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0 Stable 8–11 Aug 14, 2024
1.0.0-alpha1 Pre-release 8–10 Apr 17, 2024
1.0.x-dev Dev 8–11 Apr 17, 2024