Sign in Registration

Creating a form in Drupal - what types of fields are there


When creating a form in Drupal, you must specify its type for each field. What types of fields exist in Drupal , or rather, which #type can be specified in the form? There are a lot of values, let's list the common ones:

There are also special types, consider them:

As you can see, there are a lot of field types in Drupal - using Form API , you can create almost any input element for any need. We looked at the general and special types of fields that can be created in Drupal.

Comments (0)
For commenting sign in or register.

Latest articles

Popular sections


Login to the web version
Android app:
Available on Google Play

Share this

Subscribe to