# Bricks Conditions - More Options with JetEngine

**URL:** <https://forum.bricksbuilder.io/t/bricks-conditions-more-options-with-jetengine/27554>\
**Category:** Feature Requests / Improvements\
**Created:** [November 2, 2024, 12:02am UTC](https://forum.bricksbuilder.io/t/bricks-conditions-more-options-with-jetengine/27554 "2024-11-02T00:02:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ribeirom4e](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@ribeirom4e](https://forum.bricksbuilder.io/u/ribeirom4e)\
**Post date:** [November 2, 2024, 12:02am UTC](https://forum.bricksbuilder.io/t/bricks-conditions-more-options-with-jetengine/27554/1 "2024-11-02T00:02:20Z")

</div>

Currently, we can use the Dynamic Data option to access CPT / CCT meta fields in the Conditions tab. The problem is that is very limited. Would be great to be able to access the Queries built with Query Builder also (it would need to work the same as a CPT / CCT is shown. (Query Builder - List of Queries // Query Builder (SQL) - List of Queries and Variables). It would avoid us the rastle to use a work around as described in the below posts.

> [@JetEngine Compatible Conditions](https://forum.bricksbuilder.io/t/jetengine-compatible-conditions/21854/6):
>
> Ok, so, the post which Panag sugested helped me a little. I’m using JetEngine and CCTs. That post helped me understand some things which led me to the below function. You just need to change the variables and white list it. function get\_refei\_dieta\_array($option) { global $post, $wpdb; $current\_post\_id = $post-\>ID; $refei\_dieta\_data = $wpdb-\>get\_var( $wpdb-\>prepare( "SELECT refei\_dieta FROM wp\_jet\_cct\_dietas WHERE cct\_single\_post\_id = %d", $current\_post\_id ) ); if (…

> **[JetEngine Checkbox Condition in Bricks - BricksLabs](https://brickslabs.com/jetengine-checkbox-condition-in-bricks/)**
>
> How elements in Bricks can be conditionally output depending on the selected option from a JetEngine checkbox field.

Best regards,
