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.
Problem
People are starting to need to add reset buttons to forms. Reset buttons are not generally recommended.
Solution
Add optional reset button that is disabled be default.
Tasks
- Add reset label to admin setting
- Add reset webform setting
- Add hasReset
- Add reset with label to webform actions element
- Create test_form_reset
- Write tests
Comment | File | Size | Author |
---|---|---|---|
#3 | add_reset_button-2896667-2.patch | 118.26 KB | jrockowitz |
|
Comments
Comment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commented