Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checkboxes in a View

Status
Not open for further replies.

epratt

Programmer
May 2, 2003
6
US
I have created numerous checkbox fields in my entry form. Each check box has multiple options. In my view, I'd like a single column for each one of the checkbox options showing an "X" if that particular option was selected.

It seems that checkboxes create lists, so I tried using @if(@contains(fieldname; "one of the checkbox options"); "X"; ""). This returns rather odd results. Any suggestions?
 
You could display each checkbox selection (if multiple items are checked) as a separate entry. In the second tab of the properties of the column in your view just select the "Display multiple values as separate entries". This will cause a view entry for each checked item.

Just a thought.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top