remove or hide reset button on search page

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mavel
User
Posts: 88

remove or hide reset button on search page

Post by mavel »

Hi,

I can't hide or remove reset button on search page.

I did like this:
search page > page_render
add this code: $this->SearchOptions->Items["btn-reset"]->Visible = FALSE;

I got this error: Undefined property: SearchOptions.


arbei
User
Posts: 9288

Post by arbei »

There is no Items["btn-reset"]. To hide a button you may simply use CSS, see display, you may add your CSS under HTML -> Styles -> User tab.


Post Reply