Multiples selection Listbox or Multiple seletion checkbox

Aiden Brennan asked on October 28, 2021 16:46

Hi,

Do you have any recommendation for getting listbox or multiple selection checkbox in Kentico 12 MVC Form Build(v12.0.93)

Regards, Geo

Recent Answers


Liam Goldfinch answered on October 28, 2021 22:33 (last edited on October 28, 2021 22:36)

See below:

0 votesVote for this answer Mark as a Correct answer

Liam Goldfinch answered on October 28, 2021 22:35

I would recommend upgrading to Kentico Xperience 13 and using the Multiple choice (MultipleChoiceComponent) form component (Multiple choice form component that offers checkbox options, and allows users to select multiple options at the same time.)

If you really want to stick with Kentico 12, you'll have to develop a custom form component, see the docs.

1 votesVote for this answer Mark as a Correct answer

Aiden Brennan answered on October 29, 2021 13:27

Hi Liam,

thanks for the response. I tried to build listbox component. I just wonder how can i get the values from Kentico Form options. from the below the values are from article. But in my case i want the values from form options. How do i write code for the function GetItems()? Do you have any idea on this?

https://docs.xperience.io/k12sp/developing-websites/form-builder-development/developing-form-components/using-a-dynamic-data-source-with-selector-components

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.