Dmx-bind:checked - only working occasionally inside a Data Detail

Hi All,

I’ve tried to get this to work, but having no luck and found some other posts that suggest this may be a bug? (Dmx bind:checked)

My issues is this:

I have a tree view of a business structure. I click on the business name, and it passes the business ID to a Data Detail update form to enable details to be updated.

One of those fields is an ‘is_active’ checkbox. This checkbox has the dynamic attribute ‘checked’ set up to populate from the data detail based on the ‘is_active’ field returned from the query (this is a mySQL boolean, so a tinyint 1 or 0.

When i load the page and click on the business name (to populate the form) the ‘is_active’ checkbox will only show as checked occasionally (maybe 50-75% of the time).

The form itself updates fine, based on if the checkbox is checked or not it works as expected. But it is the initial display of being checked or not that is not working consistantly.

Am i doing something wrong or is this a bug?

More details below that may be useful:

This pic below shows the design view, the checkbox should actually show as Checked in this (the word inactive is dynamic text based on if the checkbox is checked or not:

How it is set up in the app structure:

For the record I have tried multiple values in the checked attribute such as passing just the is_active value from the query (which would be only a 0 or 1) and the result is the same… sporadic behaviour.

Any help would be much apprecaited.

Cheers,
Phil

Community Page
Last updated: