Hello,

Are there any plans to make Bootstrap DateTime Picker work with Webform 5?

Thanks~

CommentFileSizeAuthor
#5 3027505-webform-integration-5.patch15.26 KBprashant.c

Comments

gge created an issue. See original summary.

prashant.c’s picture

@gge

As of now I don't have any plans for the same as I am busy with some projects.

However any patches are welcome.

Thanks.

prashant.c’s picture

Status: Active » Postponed
prashant.c’s picture

Status: Postponed » Active

Version 3.x will offer integration with Webform as a Bootstrap DateTime field as an element, although there are currently some unresolved issues such as the one mentioned in https://www.drupal.org/project/bootstrap_datetime_picker/issues/3348417. Contributions in the form of patches etc. are welcome to help address these issues.

prashant.c’s picture

Title: Webform 5 integration » Webform integration
Version: 8.x-1.x-dev » 3.0.0-alpha1
Component: Miscellaneous » User interface
Status: Active » Needs review
Related issues: +#3348417: Call to an undefined method Drupal\bootstrap_datetime_picker\Plugin\WebformElement\BootstrapDateTime::datePickerExists()
StatusFileSize
new15.26 KB

There are still issues with the "Bootstrap Date Time" element provided by the Drupal module found in the latest release of https://www.drupal.org/project/bootstrap_datetime_picker/releases/3.0.0-... when integrated with webforms. However, there is a patch attached to this message that addresses the problem, although it only works for date formats with numeric values such as d-m-y, d-m-Y, d-m-y H:i, and so on. To test this element, follow these steps:

  1. Log in as an admin on your Drupal website and enable the required modules including webform.
  2. Access "/admin/structure/webform".
  3. Click on "Build" for any of the listed webforms, such as the "contact" webform at "/admin/structure/webform/manage/contact".
  4. Click on the "Add element" button.
  5. A popup will appear, search for "bootstrap", and you will find a new element named "Bootstrap Date Time".
  6. Click on the "Add element" button shown next to the element, configure the element, and hit "Save".
  7. Now, to view the Bootstrap Date Time element on your webform, click on the "View" button or enter the "/form/contact" URL for the contact form. Once you see the element, click on it and a pop-up will appear for selecting a date.

I would appreciate it if you could provide your feedback or comments. Thank you.

prashant.c’s picture

Status: Fixed » Closed (fixed)

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