Webform Attributes

Component ID

2742379

Component name

Webform Attributes

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

346

Component created

Component changed

Component body

General information

This module allows you to add attributes to your form elements.

Advantages

  • Add additional data attributes from HTML 5;
  • Add data-* attributes that are extremely useful, especially for JavaScript developers.

Configuration

You may add attributes two ways:

  • In Form components accessing the Form components > Edit
  • In Form element accessing the Form settings > ADVANCED SETTINGS

Requirements

This module depends on webform.

More information

In the 7.x-2.0 release, we add the following features to improve the module:

  • - It's possible to add HTML attributes also in wrapper input.
  • - Now you can choose which component you can add HTML attributes.
  • - Validate to avoid duplicate keys.