Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
A compound field with a text field and paired integer field.
There is now also a submodule called textintegerfieldx2url -- that's two text fields, two integer fields, and a URL field. This is unlikely to fit your exact needs but it is another example you can copy for making compound fields.
Similar Modules
- Freeform allows people who can add content on your site to define their own labels for certain fields, or to provide their own units. Same exact compound field idea, but slightly different use case.
- Field Collection is better if you have more general needs of associating fields. For performance and control over display of input forms and output, Text & Integer Field is better for the precise need of paired text and integer fields. See also Relation module, which has similar underlying concepts (relate entitities!) as Field Collection.
Project information
- Module categories: Content Editing Experience, Site Structure
- 6 sites report using this module
- Created by mlncn on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.