Possible Bug in CMS Builder (V 2.06)

2 posts by 2 authors in: Forums > CMS Builder
Last Post: October 18, 2010   (RSS)

Re: [guido_ch] Possible Bug in CMS Builder (V 2.06)

By Jason - October 18, 2010

Hi,

In the database, a checkbox is always stored as a 1 or 0.
The check and uncheck text values can be accessed by using the "text" pseudo field. Note, you need to be using the getRecords() function in order to do this:

For this example, let's assume the name of your field is "check_box"
<?php echo $record['check_box:text']; ?>

This will output the text values that you set in CMS Builder.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/