This topic is locked

empty(reset) "filter as" by button

7/1/2021 8:54:10 AM
PHPRunner General questions
J
jacques author

Hi,

I have a listpage with different field-filters set by "Filter as".

On that listpage I want to reset those filters with a button.

Any suggestions for me how to do it?

gr

Jacques

admin 7/1/2021

You can redirect user to URL like tablename_list.php?f=all and it will reset the filter.

J
jacques author 7/1/2021

Thank you Sergey,

This works pefectly on the same server/host.

What if phprunner is running in an iframe on a different host.
This gives an error.

That's why I was looking for a button solution (perhaps with some javascript)

Any suggestions?

gr

Jacques

admin 7/1/2021

Sure, see example #4 in Inserting button article.