This topic is locked
[SOLVED]

 Hide Data until Search Text

12/5/2013 10:25:48 AM
PHPRunner General questions
P
p1nr author

Hello,
I have enabled the 'Hide Data until Search' feature on one of my tables, but would like the text to say something like 'Please Search First'.

Can I change that message just for the initial load?

Sergey Kornilov admin 12/6/2013

BeforeDisplay event of the List page:

$xt->assign("message","my message here");
P
p1nr author 12/6/2013



BeforeDisplay event of the List page:

$xt->assign("message","my message here");




Thanks Sergey. Unfortunately this replaces the "No Records Found" text that you see if your search filters didn't pick anything up. I don't suppose we can have the landing page say something, then show the intial "No Records Found" for failed searches?
Thanks for the help regardless!

Sergey Kornilov admin 12/6/2013

You can try to modify it this way:

if (!$_GET)

$xt->assign("message","my message here");