Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListSyntax for filtering on a True/False columnSyntax for filtering on a True/False column
Previous
 
Next
New Post
6/27/2012 12:55 AM
 

I would like to produced a filtered list just showing rows where a True/False column called Issues has the value True.

I have been trying by trial and error, but have only managed to work out what does not work.  Any ideas?

Cheers, Richard

 
New Post
6/27/2012 7:38 AM
 
Hi Richard,

this question was answered plenty of times here in forum. 

Please get familiar with the concept of "Hidden columns".  
Check also http://www.formandlist.com/Documentat...

Best regards,

Stefan

 
New Post
6/27/2012 8:23 AM
 

Here's a couple quick entries for you; if you have a true/false column name "Active":

Form & List Filter Settings:
  [Active_UDT_Original] = 'true'

XSL Entry Within a XSL:
  <xsl:choose>
    <xsl:when test="udt:Active_UDT_Original='true'">
      ... Your Code Here ...
    </xsl:when>
    <xsl:otherwise>
      ... Your Code Here ...
    </xsl:otherwise>
  </xsl:choose>


 
New Post
6/27/2012 12:25 PM
 
Richard,
One tip I can give you (to help you resolve these kinds of issues on your own in the future), is to view your table data as XML. That will show you the "column" names included in the output and how the values are stored.
 
New Post
6/27/2012 8:54 PM
 

I believe the Hidden Columns documentation is erroneous when describing True/False ColumnName and +_UDT_Value columns, and I have now raised this in Issue Tracker.

In the context of Filter statements, I am pleased that in future releases you have changed the help text to remove the misleading reference to SQL!

I think the documentation could be significantly improved in this area.

Cheers, Richard

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListSyntax for filtering on a True/False columnSyntax for filtering on a True/False column


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out