Is that possible to change a dropdown list to a checkbox list with value list?

Anonymous
Not applicable

Is that possible to change a dropdown list to a checkbox list with value list?

Hi Everyone,

I have a field name "Interests" with computer/reading/sport/dance in the value list,

In my form, this field is select type, but now i want to change it to checkbox, there is no option for me to add the value list to let visitors choose their hobbies.

Is that possible for me to make it?

Rose
Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: Is that possible to change a dropdown list to a checkbox list with value list?

A dropdown or select list is mapped to a field type string (of characters) while a checkbox is a boolean value (true/false).

A dropdown or select list converted to checkbox will always set the field to true regardless what is selected, no matter the value is a string, number, date or text area.

The best option is really having one custom field for each checkbox.

There is one viable alternative for a multi-select list: keep the original field and use a JavaScript/jQuery to read the values selected and then update hidden checkbox with the respective selections. That is user-friendly while preserving the original form and logic.