Fórum

How to check required functionality for select in structure.

thumbnail
Raja Seth, modificado 8 Anos atrás.

How to check required functionality for select in structure.

Regular Member Postagens: 233 Data de Entrada: 18/08/11 Postagens Recentes
Hi All,

I have created a sample structure in which I have text-field, text-box, document & media, image, single-select, multi-select. All these fields are required. Now when I am trying to create a content and publishing it without any details filled, it doesn't shows any validation message for single-select and multi-select type. Is there an issue with the structure of liferay or is there anything I am missing while creating structure to make select boxes required?

Thanks & Regards.,
Raja
thumbnail
Harish Kumar, modificado 8 Anos atrás.

RE: How to check required functionality for select in structure.

Expert Postagens: 483 Data de Entrada: 31/07/10 Postagens Recentes
Hi

You can make structure fields required. when creating the web content using structure, edit the structure, there you will find "Edit Options" button using this will open the new pop up with all available options.

Regards
thumbnail
Raja Seth, modificado 8 Anos atrás.

RE: How to check required functionality for select in structure.

Regular Member Postagens: 233 Data de Entrada: 18/08/11 Postagens Recentes
Harish Kumar:
Hi

You can make structure fields required. when creating the web content using structure, edit the structure, there you will find "Edit Options" button using this will open the new pop up with all available options.

Regards



Required functionality is working for other fields not for select. Can you please test and let me know what I am missing in case of select field.
thumbnail
Harish Kumar, modificado 8 Anos atrás.

RE: How to check required functionality for select in structure.

Expert Postagens: 483 Data de Entrada: 31/07/10 Postagens Recentes
I have already tested it on liferay-portal-6.1.1-ce-ga2
thumbnail
Devang Patel, modificado 8 Anos atrás.

RE: How to check required functionality for select in structure.

Regular Member Postagens: 247 Data de Entrada: 19/01/15 Postagens Recentes
Hi Raja Seth,

I am using Liferay 6.2 GA4.
It is working fine. I am not sure but there is an issue in your liferay webcontent structure.
Create new structure and check it again.
thumbnail
Raja Seth, modificado 8 Anos atrás.

RE: How to check required functionality for select in structure.

Regular Member Postagens: 233 Data de Entrada: 18/08/11 Postagens Recentes
Hi Devang,

Thanks for attaching the image. Can you please add select-box also in the structure and attach the image and show me how it works when select-box is required?

Regards,
Raja
thumbnail
Devang Patel, modificado 8 Anos atrás.

RE: How to check required functionality for select in structure.

Regular Member Postagens: 247 Data de Entrada: 19/01/15 Postagens Recentes
Hi Raja,

Can you please add select-box also in the structure and attach the image and show me how it works when select-box is required?

Please find below attachment:
Let me know if you require any help!

Thank You,
Devang Patel
thumbnail
Raja Seth, modificado 8 Anos atrás.

RE: How to check required functionality for select in structure. (Resposta)

Regular Member Postagens: 233 Data de Entrada: 18/08/11 Postagens Recentes
Hi Devang,

Still you haven't added the select dropdown which I have already mentioned twice in my comment. Anyway I have raised a ticket to liferay they have reproduced it and would provide the patch for the same.

Attaching the screenshot for select box not working even on required fields.

Regards,
raja