Why does CALC element button have an action when none is yet assigned?

genyded

Active Member
Hi,

I've added a calc element and display it in a Fabrik list. The element is just a button with some text:

PHP:
return '<button>hello</button>';

The button is just an element in each list row, not tied to submit or update rows or anything else that I am aware of.
I have yet to assign any action to the button in any way, but yet when it is click in the list, it reloads the lists url with the parameters resetfilters=0&clearordering=0&clearfilters=0 added to the URL. Why is this? I would not expect a button added to do anything unless I tell it to.

I plan to have the button open a URL in a new window, but expect if I try to proceed with this, the above will make the URL not work.

TIA,
Dale
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top