O'Reilly logo

Drupal 7 Fields/CCK by Dave Poon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Multiple Value Fields

In the previous chapter, we discussed all the necessities for creating long text and text field fields using the text module. In this chapter, we will cover multiple value fields and multiple value widgets in Drupal 7, which allow a field to have multiple values. Also, the interaction between the fields and the widgets when using the multiple value options will be covered in detail in this chapter.

In this chapter, we shall learn:

  • Enabling multiple values
  • Adding Boolean fields
  • Setting default values
  • Adding list fields
  • Multiple values widgets

Enabling multiple values

In the previous chapter, we created a source text field to store the source information for a cooking tip. However, there are times we need to enter more than ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required