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

Time for action – adding text fields using the text module

Text fields allow users to enter a line of text, which can be used for users entering username or postal numbers. In this section, we will create a text field using the text module. Follow these steps:

  1. Type "Source" in the Label field, and then type "source" in the Field name field, and select text from the Select a field type drop-down menu in the FIELD column. The input widget will be automatically changed to a Text field widget. This is just like the text area field type, there is only a text field widget that supports the text field type, so the text field widget will be selected by default.
  2. Then click Save to save the field.
  3. Next, it will display a page with a message that is similar ...

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