Conditional options display and email sending

by wrigamer   Last Updated December 13, 2017 11:07 AM

Here is the basic structure of the form and the conditions:

There are 3 main select list and they are all required fields.

select list 1 :

option a (associate email: a@email.com)
option b (associate email: b@email.com)
option c (associate email: a@email.com)

select list 2 :

option x (associate email: x@email.com)
option y (associate email: y@email.com)
option z (associate email: z@email.com)

select list 3 :

option i
option j

Conditional options display:

Case 1: If option a is selected, only option x from select list 2 is shown while others are hidden.

Case 2: If option b is selected, only option y,z from select list 2 is shown while option a is hidden.

Case 3: If option c is selected, all options are hidden.

Conditional email sending:

Case 1: If option a & option i are both selected, send the email according the the option from select list 2.

Case 2: Otherwise, send the email according to the option from select list 1.

Requirement:

  1. Using Drupal 8
  2. Has UI to modify the form logic

I have tried using Webform module. But it seems that multiple options with same value are not allowed.

Is there any possible solution for this?

Tags : webform


Related Questions


Webform Rules - Create a Drupal User

Updated November 24, 2017 14:07 PM


Hide webform after the user's first submission

Updated May 16, 2017 17:07 PM

How to get instant result after submitting webform?

Updated September 14, 2017 12:07 PM