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.
This is a continuation of #1148808: Webform missing advanced components (add support for date component) (which added support for dates), to add support for the time component to the Form Builder Integration.
Comment | File | Size | Author |
---|---|---|---|
#5 | form_builder_minuteincrements-d7.patch | 452 bytes | Laz5530 |
#2 | form_builder_time-d6.patch | 4.17 KB | quicksketch |
#2 | form_builder_time-d7.patch | 4.17 KB | quicksketch |
Comments
Comment #1
quicksketchIt looks like the time component is going to need some work for Form Builder to work in combination with it. I'm working on improving the time component in #1150576: The "time" component should use a #process function for expanding itself.
Comment #2
quicksketchThis patch was dependent on two other issues:
- #1150576: The "time" component should use a #process function for expanding itself (in Webform)
- #1151140: Field #form_builder['element_type'] set incorrectly for new fields (in Form Builder)
After getting those done, this patch was fairly straight-forward. Committed to both branches.
Comment #3
quicksketchComment #5
Laz5530 CreditAttribution: Laz5530 commentedHi,
I use Form Builder Webform UI and i was missing the settings MinuteIncrements. I wanted that the selector for minutes is not always 00-59, but 00,15,30,45.
This patch adds the Minuteincrements setting(from Webform) to the Form Builder Webform UI.
Comment #6
jtjones23 CreditAttribution: jtjones23 commentedThe Minute Increments setting is still missing from the Form Builder Webform UI. Which means you have to disable Form Builder Webform UI to see the Minute-Increments setting.
Comment #7
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedgit apply form_builder_minuteincrements-d7.patch
fatal: corrupt patch at line 13
but patch -p1 < form_builder_minuteincrements-d7.patch worked