Webform Attributes
Categories
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
- https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attri...
- http://html5doctor.com/html5-forms-introduction-and-new-attributes
- https://www.sitepoint.com/use-html5-data-attributes
- http://html5doctor.com/html5-custom-data-attributes
- https://www.html5rocks.com/en/tutorials/forms/html5forms/#toc-other-form...
- http://updates.html5rocks.com/2015/06/checkout-faster-with-autofill
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.
