Cannot get conditional statement to work

Resolve a conditional statement not pulling database data in CF.

Overview

The issue occurs when the column list in the configuration does not include the model prefix.
Ensure each column reference in the list includes the model name, such as 'model.columnname', to correctly map and display the data.

Answered
ch chriso0258 16 Apr, 2014
Hello, I'm having trouble getting my CC to pull data from the db. Here you can see my config.

[attachment=0]ccv5.jpg[/attachment]

ckstatus is an integer and will either be a 1 or 0. When I click on the "Staff on Site" menu option I only get this:

[attachment=1]ccv5b.jpg[/attachment]

What am I doing wrong?

Thanks for your assistance.
ch chriso0258 16 Apr, 2014
Answer
I figured it out. I needed to add the model to the column list. For example, I had put lname:Last Name when I should have put staffonsite.lname:Last Name.
This topic is locked and no more replies can be posted.