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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

It 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.

quicksketch’s picture

This 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.

quicksketch’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Laz5530’s picture

Version: 7.x-1.x-dev » 7.x-1.6
Issue summary: View changes
Status: Closed (fixed) » Patch (to be ported)
FileSize
452 bytes

Hi,

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.

jtjones23’s picture

Version: 7.x-1.6 » 7.x-1.13

The 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.

SocialNicheGuru’s picture

git apply form_builder_minuteincrements-d7.patch
fatal: corrupt patch at line 13

but patch -p1 < form_builder_minuteincrements-d7.patch worked