How to add checklist on catalog item form?

Sachin G K1
Kilo Sage

Hi Team,

How can i add checklist on catalog item form. Please suggest.

>on select yes on "reporting" field a checklist should be displayed. There is no label for it. And checklist should be single select

>since it doesn't have label. I have to go for checklist. Please suggest me to add checklist instead of checkboxes

 

Thanks in Advance,

Sachin

1 ACCEPTED SOLUTION

suvro
Mega Sage
Mega Sage

You can use the combination of a label and  number of checkboxes , one after the other. What is the ambiguity?

View solution in original post

14 REPLIES 14

suvro
Mega Sage
Mega Sage

You can use the combination of a label and  number of checkboxes , one after the other. What is the ambiguity?

Hi Suvro,

on select yes on "reporting" field a checklist should be displayed. There is no label for it. And checklist should be single select

You can ignore the label but you can use UI policy to display all check boxes when reporting is yes.

When you say checkbox should be single select what do you mean you dont want to check all the checkboxes but only one ??

In that case, the first checkbox should be select the checklist. On checking that using an onChange client script check all other checkboxes to true

like below

if (g_form.getValue('select_checklist').toString() == 'true'){

g_form.setValue('checkbox1', true);

g_form.setValue('checkbox2', true);

g_form.setValue('checkbox3', true);

}

Hi Suvro,

Above code checks all the check box if we check first checkbox. But i want to restrict user to select only one checkbox. How to do that?