Map "Gender" in Kentico 12 MVC Forms

Alexander Privacy asked on June 25, 2020 08:56

In Kentico 11 i used the Data type "Integer Number" with options 1 and 2. After i have changed the data type i could select the field in the Gender dropdown.

I am now using Kentico 12 MVC but now i do not have a Field options, i only have the Form Builder but they do not provide this options.

Image Text

How can i select GENDER when i use the Kentico 12 Form Builder?

Regards

Recent Answers


Dmitry Bastron answered on June 25, 2020 11:35

Hi Alexander,

I'm afraid it would not be possible with default controls and you need to develop a custom Form Component of int type that will render dropdown with 2 integer values. Then you would be able to map it.

0 votesVote for this answer Mark as a Correct answer

Alexander Privacy answered on June 25, 2020 11:59

Thank you for the fast answer Dmitry.

0 votesVote for this answer Mark as a Correct answer

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