Create Condition node of different content types with Webform Content Creator module

Created on 3 June 2022, over 2 years ago
Updated 24 March 2023, almost 2 years ago

Problem/Motivation

I am using Webform Content Creator module and having two content type News,Blog. With Webform Content creation I need to create two forms and separately assign them in webform content creation then I can create entry with in the respect content type with webform submissions

If i create single Webform with conditional fields (show and hide) and map them differently and create two Content creation entries first with News and second with Blog with correct mapping but when i submit the form it ways goes to first content type which is News.

Is any way or hook where we can change it programming so it pick second or correct entry and store in other content type

Steps to reproduce

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

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇵🇹Portugal joaomarques736

    Hello ahaomar,

    You can try to have a webform computed token with the logics you need to choose the correct content type and, then, map this webform computed token (with a custom mapping in wcc configuration page, as it allows tokens, something like [webform_submission:values:{new computed_token_field_name}]). I think it would be the best way to achieve that.

    Thanks.

Production build 0.71.5 2024