Fórum

Multi select option in Custom fields

thumbnail
Raveen Raj, modificado 9 Anos atrás.

Multi select option in Custom fields

New Member Postagens: 9 Data de Entrada: 04/12/14 Postagens Recentes
Hi,
I need to create a custom fields with multi select option(multi select in dropdown).Please let me know how to create the same.
thumbnail
Robin Nagpal, modificado 9 Anos atrás.

RE: Multi select option in Custom fields

Junior Member Postagens: 44 Data de Entrada: 18/11/14 Postagens Recentes
<aui:select id="choices" name="choices" multiple="true">
<option value="choice1">choice1</option>
<option value="choice2">choice2</option>
<option value="choice3">choice3</option>
</aui:select>
thumbnail
Suresh Nimmakayala, modificado 9 Anos atrás.

RE: Multi select option in Custom fields

Liferay Master Postagens: 690 Data de Entrada: 18/08/04 Postagens Recentes
it works


try

choicesSize is the count how many you are showing in the list if you want to extend dynamically

<aui:select label="choices" name="choices" id="choices" size="<%=choicesSize%>" multiple="true">
<aui:option value="choice1">choice1</aui:option>
<aui:option value="choice2">choice2</aui:option>
<aui:option value="choice3">choice3</aui:option>
</aui:select>
thumbnail
Tanweer Ahmed ., modificado 1 Ano atrás.

RE: Multi select option in Custom fields

Expert Postagens: 322 Data de Entrada: 11/03/10 Postagens Recentes
Hi Raveen,

The current version 6.2 does not support Custom Field with multi select option.Only single select values from the dropdown is supported.

Regards,
Tanweer.
thumbnail
Raveen Raj, modificado 9 Anos atrás.

RE: Multi select option in Custom fields

New Member Postagens: 9 Data de Entrada: 04/12/14 Postagens Recentes
Hi,

Thanks.. is that possible to customize the custom fields option to add MULTI SELECT DROPDOWN by creating hook project? if so please suggest me
thumbnail
Tanweer Ahmed ., modificado 1 Ano atrás.

RE: Multi select option in Custom fields

Expert Postagens: 322 Data de Entrada: 11/03/10 Postagens Recentes
Hi Raveen,

It might work.You can create a hook for
/portal-src/portal-web/docroot/html/taglib/ui/custom_attribute/page.jsp


And try adding multiple="true" for the select element for the block
type == ExpandoColumnConstants.STRING_ARRAY &amp;&amp; propertyDisplayType.equals(ExpandoColumnConstants.PROPERTY_DISPLAY_TYPE_SELECTION_LIST)


Regards,
Tanweer.
Miha Valencic, modificado 8 Anos atrás.

RE: Multi select option in Custom fields

New Member Postagens: 7 Data de Entrada: 02/09/15 Postagens Recentes
Hi!

Chosing "Group of text values" and choosing a display style of "Checkboxes" enables us to select more than one entry, which is sufficient.

Regards,
Miha.
Jose Antonio Campos Segura, modificado 6 Anos atrás.

RE: Multi select option in Custom fields

Junior Member Postagens: 45 Data de Entrada: 30/09/17 Postagens Recentes
Can you provide an example?

Thanks.