Bug with not visible button, being visible on page load

The button is showing up even though it is marked as not visible. It shows up for a moment in the loading process. Once fully loaded, it is not visible again.

I do have a condition to make it visible when a database field is “yes”. In this case, the field is “no”.

base state
2.
reloading
3.
partially reloaded
4.
fully reloaded

This is the condition inside of the repeating group “trap”. When this statement is deleted, the loading process works normally (button not showing up at all). When condition is present, the error occurs.

Hi there,

It looks like you have your condition backwards. Either this checkbox should be de-selected:

Or you need to change the conditon to ‘is Yes’:

I’m sure Parent Group’s Trap’s cap_ack is No when page loads. Then data comes from the DB and it becomes Yes. That’s why you briefly see the button and then it disappears. You may wanna restructure your front-end or use a different conditional.

1 Like

Generally speaking, in software, everything that is not explicitely “yes” is “no”.

Most likely your object does not exist while it is not yet being returned from the DB. So it’s “no” during a short period of time.

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.