Developer forum

Forum » Feature requests » Have no access to display the selected checkbox list item label

Have no access to display the selected checkbox list item label

Juliette Chami
Reply

My issue is that I can not display "SiteTags" Integration, Dynamicweb CMS and Email marketing om my website. I can only access the value of the items and not the labels.

Please see the video and the images bellow:

http://screencast.com/t/f0zX71uaK


Replies

 
Line lofquist
Reply

Hi Juliette,

I have tried to recreate you problem on my own solution, and I am not sure which label tag you are missing. Here is what I have done:

1. Create an item, Sitetags, with the textfield TagText

2. Create and item, ItemCheckBox, with the field checkbox of the type checkbox list with these settings: http://screencast.com/t/yk021N1p

3. Add an item of type sitetags under "dropbox", http://screencast.com/t/nRsvCsz2

4. Add the loop Item.ItemFieldName.Options to your template, where ItemFieldName is the name of your ItemField of the type checkbox list (for me it was Checkbox)

5. Take a look at the template tags for the loop: http://screencast.com/t/q0v1DtCAXc

Here you can see the label of the checkbox item in the tag Item.Checkboks.Option.Value

I hope this solves your problem.

Kind Regards,

Line