The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Search - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Search (/showthread.php?tid=801) |
Search - walkingby - Aug 6th, 2010 On the submissions page, how would I go about having the default display 0 submissions until an actual search is performed? So...upon entering the page...the user will only see the search form. Once they perform a search...then the submissions display below. Thanks! RE: Search - Ben - Aug 14th, 2010 Heya, Interesting one... You can't *quite* do this, but you could fluff it by creating a new View that returned no results (e.g. add a filter that contains a criteria that could never be satisfied, like "account ID = 0". Then sort the Views so that that one appears first. Once that's done, any users that can see that View would see no results when they first went to the page. The drawback is that they'd see that default message "There are no results with this search criteria / View." Would that be acceptable, do you think? - Ben RE: Search - walkingby - Aug 16th, 2010 (Aug 14th, 2010, 6:28 PM)Ben Wrote: Heya, Interesting solution. It "could" work. ...but I ended up finding a solution within the code itself. Thanks kindly for the response! RE: Search - Ben - Aug 21st, 2010 Ah, nice! ![]() - Ben |