Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

How can I make a multi-selection in a form?

Avatar

Level 2

Hi,

 

I have tried using multiSelection but it does not work, is there any other way?

 

 

Regards,

 

@Manoj_Kumar_  @ParthaSarathy @Parvesh_Parmar @DavidKangni  @CampaignerForLife 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@yansu ,

Create a JavaScript which reads the value selected by the user and then if "All" is selected , then convert multiselect drop down to a normal dropdown .

If anything else is selected , then let it be a multiselect dropdown.

View solution in original post

3 Replies

Avatar

Level 4

Hi @yansu ,

If you want to make a multisection like this :- 

abhinav99_0-1691772680426.png

use the below code in the input forms:-

<input xpath="@deliveryLabel" type="checkbox" checkedValue="Y"/>
<input xpath="@subjectLine" type="checkbox" checkedValue="Y" />
<input xpath="@status" type="checkbox" checkedValue="Y"/>

 

and of course make sure you have the relevant values in your data schema and then add the same in the input form.

Avatar

Correct answer by
Employee Advisor

@yansu ,

Create a JavaScript which reads the value selected by the user and then if "All" is selected , then convert multiselect drop down to a normal dropdown .

If anything else is selected , then let it be a multiselect dropdown.