Hide "Action button" by specific field value (TableView)
Asked by Michael K?ng:

Hey,

I am quite sure this was working fine in the past, but now it seems the "hide if filter" don't work anymore.

Usually I want to hide an action button if a checkbox is true, but I was not sure about the default value I changed it to a user field. Both was not working. I used also a date field as reference, same result.

Any advice for me and my problem?

![2024_06_04_08_16_03_confiForm_TEST_Michael_Kueng_mosaic_.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/327699i95704008867C1B4D/image-size/large?v=v2&px=999 "2024_06_04_08_16_03_confiForm_TEST_Michael_Kueng_mosaic_.jpg")


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Michael K?ng](/t5/user/viewprofilepage/user-id/3406184)

This worked and still works fine

Do you mind sharing the configuration that does not work for you?

The simple one I have quickly verified this with:

```
<ac:structured-macro ac:macro-id="750c7d5a-3e5b-4a25-856a-c26000fad023" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">form</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="d02a0edf-1bec-4cf0-8c18-8eba2fbcb331" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<ac:structured-macro ac:macro-id="28cd7d60-553c-4240-9ee1-b175659113e8" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">ac</ac:parameter>
<ac:parameter ac:name="fieldLabel">ac</ac:parameter>
<ac:parameter ac:name="values">go=true</ac:parameter>
<ac:parameter ac:name="extras">go=true</ac:parameter>
<ac:parameter ac:name="type">action_button</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="e3daea70-5bc3-4536-9141-e83b7f1d3f84" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">go</ac:parameter>
<ac:parameter ac:name="fieldLabel">go</ac:parameter>
<ac:parameter ac:name="type">checkbox</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="24f0d9ad-b671-4b12-b6ab-1e05f5ca35f1" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">user</ac:parameter>
<ac:parameter ac:name="fieldLabel">user</ac:parameter>
<ac:parameter ac:name="type">user</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
<ac:structured-macro ac:macro-id="10d2095c-e3b7-4879-9fb5-339ea62c66af" ac:name="confiform-table" ac:schema-version="1">
<ac:parameter ac:name="formName">form</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="8e3ff2f1-20a9-4783-81a4-ac51c3f91c9a" ac:name="confiform-entry-edit" ac:schema-version="1">
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
<p>
<ac:structured-macro ac:macro-id="dc38a1dd-b1ad-4e1b-8295-3dc10dffc4f3" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">ac</ac:parameter>
<ac:parameter ac:name="hideIfMatches">user:[empty]</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="78c6e632-d190-4b96-b268-a497ff76dd2f" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">go</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="31bddbba-af1e-4668-b1c2-2959ad7d56be" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">user</ac:parameter>
</ac:structured-macro>
</p>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
```

Alex

comments: author: Michael K?ng
body: Thanks Alex! I have found the differences. THe problem is caused by the activation of inline edits (enableGridEdit=True)

If you activate this, the "Action button" is always present. Can you verify this? Was this also in the past? Is this correct?

Regards


author: Alex Medved _ConfiForms_
body: I think this was always like that, but we gonna fix it


author: Michael K?ng
body: Thank you, really appreciate as usual.

Regards.


Tags: confiforms

confluence-data-center

data-center