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.
As I could notice there are some form elements on the settings form that are assumed to be conditional : some textfields need to be displayed only if appropriate value in radiobutton is selected.
I think it would be better if we could make this form AJAXified.
I will provide a patch soon.
Comment | File | Size | Author |
---|---|---|---|
#2 | make_settings_form_ajaxified-1663004-1.patch | 6.49 KB | PatchRanger |
#1 | make_settings_form_ajaxified-1663004-0.patch | 5.88 KB | PatchRanger |
Comments
Comment #1
PatchRanger CreditAttribution: PatchRanger commentedDone.
I've also made some tuning to pass Coder tests.
Please review.
Comment #2
PatchRanger CreditAttribution: PatchRanger commentedInspired by the idea of making this form truly AJAXified I have added conditional appearing and disappearing of the whole fieldset of the settings. This fieldset is listening to "Store value in the database" checkbox.
Please review this one.