List Options Advanced Query

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 12, 2012   (RSS)

By concrete - April 11, 2012

I created a checkbox in the cms_accounts table.

I need to detect if it is true or not to display the correct list options for the user.

Here is an example of what im tyring to do.

if ({custom_checkbox}) {

select num, title from cms_table where field = {cms_accounts.num}

} else {

select num, title from cms_table


}

1. What variable should i can to get the value of the checkbox?

2. What variable should i call to get the user id of the currently logged in user?

Re: [Jason] List Options Advanced Query

By concrete - April 12, 2012

Thanks Jason