Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Task
- Create element
- Create webform element
- Add test form
- Generate examples
- Add to style guide
- Add previews
Element properties
- #terms_display modal|slideout
- #terms_title
- #terms_content
Notes
- Type: webform_terms_of_service
- Extends checkbox.
- #title must be customizable
- Defaults to I agree to the terms of service.
- Terms will always be appended as hidden container to checkbox.
References
Comment | File | Size | Author |
---|---|---|---|
#6 | add_terms_of_service-2896707-5.patch | 63.29 KB | jrockowitz |
| |||
#4 | add_terms_of_service-2896707-4.patch | 63.34 KB | jrockowitz |
|
Comments
Comment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #6
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #8
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commented