How we can map webform composite field(multiple fields) as smart date

Created on 7 April 2023, over 1 year ago
Updated 25 March 2024, 8 months ago

Problem/Motivation

I am using smart date module https://www.drupal.org/project/smart_date which basically a multi field widget start date and time, end date and time and time zone all together. Now this field is not available in webform so if i create combo field (start_date, start_time, end_date, end_time, and timezone and allday checkbox) How can i map that field to content field smart date field.

Steps to reproduce

Is any work arround for that? and how can i map multiple fields(composite field) to one field

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇵🇰Pakistan ahaomar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ahaomar
  • Status changed to Closed: works as designed 8 months ago
  • 🇵🇹Portugal joaomarques736

    Hello ahaomar, Thank you for your request.

    To make advanced mapping (like the one you suggest), you need to create a new plugin of type "WebformContentCreator" in a custom module to achieve that mapping. You have some examples of these plugins already implemented in this module.

    Best regards.

Production build 0.71.5 2024